How to fix conflicting 'Index()' ActionResults
<p>In my View (Index.cshtml) I have a checkbox list and a file input form, both cant work together because both use <code>Index()</code> and you cant have multiple <code>Index()</code> in a controller, so then what do I do? create another view? I don't want to create another view because I want both my checkbox and file input on the same view, so what do I do?</p>

<p>CheckBox:</p>

<pre><code>[HttpGet]
public ActionResult Index() //Index being used
{
    var list = new List&lt;Album&gt;
    {
        new Album { Id = 1, Name = "Aquafina", Checked = false },
        new Album { Id = 2, Name = "Mulshi Springs", Checked = false },
        new Album { Id = 3, Name = "Alfa Blue", Checked = false },
        new Album { Id = 4, Name = "Atlas Premium", Checked = false },
        new Album { Id = 5, Name = "Bailley", Checked = false },
        new Album { Id = 6, Name = "Bisleri", Checked = false },
        new Album { Id = 7, Name = "Himalayan", Checked = false },
        new Album { Id = 8, Name = "Cool Valley", Checked = false },
        new Album { Id = 9, Name = "Dew Drops", Checked = false },
        new Album { Id = 10, Name = "Dislaren", Checked = false },
    };
    return View("Index", list);
}

[HttpPost]
public ActionResult Index(List&lt;Album&gt; list) //2nd Index being used, so far so good
{
    var selected = list.Where(x =&gt; x.Checked).Select(x =&gt; x.Name);
    //ViewBag.Values = String.Join(", ", list);
    ViewBag.Values = selected;

    return this.View("Index", list);
}
</code></pre>

<p>File input form:</p>

<pre><code>public ActionResult Index() //Wait, got an exception, cannot use more than one 'Index()'
{
    bindCombo();

    return this.View();
}

[HttpPost]
public ActionResult Index(HttpPostedFileBase file) //Same problem, how do i fix?
{
    ModelVariables mv = new ModelVariables();

    if (file != null &amp;&amp; file.ContentLength &gt; 0)
    {
        mv.fileSubmit = Path.GetFileName(file.FileName);
        var fileName = Path.GetFileName(file.FileName);
        var path = Path.Combine(Server.MapPath("~/App_Data/uploads"), fileName);
        file.SaveAs(path);
    }

    return RedirectToAction("Index", mv);
}
</code></pre>