I have a view which load values and captures user input values. The page has multiple submit type buttons, and each has different purpose. Each button sends values to different sets of tables in the database.
For e.g.,

[![enter image description here](https://i.stack.imgur.com/HRGjD.png)](https://i.stack.imgur.com/HRGjD.png) 

**My query is** to make a common form POST method for all the buttons.

**My View is like:**

```
@using (Html.BeginForm("CallAllocationSubmit", "Home", FormMethod.Post, new { id = "FrmCallAllocationSubmit", ReturnUrl = ViewBag.ReturnUrl }))
{
    <table>
        <tr>
            <td>
                &nbsp;&nbsp;&nbsp;&nbsp;<button class="btn btn-success btn-icon " type="submit" style="width:100px;" name="Allocate" >Allocate</button>
            </td>
            <td>
                &nbsp;&nbsp;&nbsp;&nbsp;<button class="btn btn-primary  btn-icon " type="submit" style="width:100px;" name="Defer" >Defer </button>
            </td>
        </tr>
    </table>
}

```

**My Controller is like :**

```
[HttpPost]
public ActionResult CallAllocationSubmit(Allocation ObjAllocation, FormCollection frmCollection, string Allocate, string Defer)
{
    try
    {
        if (!string.IsNullOrEmpty(Allocate))
        {
            // All code goes here
        }

        if (!string.IsNullOrEmpty(Defer))
        {
            // All Code goes here  
        }
        return RedirectToAction("CallAllocation");
    }
    //catch block
}

```

I tried above method using if condition but the buttons ain't working, and not coming to the controller on clicking.
Please suggest how can I implement this functionality, or provide correction for my view and controller. Thanks!