ASP.NET MVC5 Html.Beginform not calling action method
<p>I had my submit form working from my razor file to a controller, then from the controller to my remote database. but now i don't even think the controller class is being called.</p>

<p>Here is my view:</p>

<pre><code>@model InputEvent

@using (Html.BeginForm("Save", "Portal/Controllers/MyEvent"))
{
    &lt;md-input-container class="md-block" flex-gt-xs=""&gt;
        &lt;label&gt;Title&lt;/label&gt;                    
        @Html.TextBoxFor(m =&gt; m.title)
    &lt;/md-input-container&gt;

    &lt;md-input-container class="md-block"&gt;
        &lt;label&gt;Address&lt;/label&gt;                        
        @Html.TextBoxFor(m =&gt; m.address)
    &lt;/md-input-container&gt;

    &lt;md-button class="md-raised"&gt;
        &lt;input type="submit" value="Save" /&gt;
    &lt;/md-button&gt;
}
</code></pre>

<p>with my model:</p>

<pre><code>public class InputEvent
{
    public string title;
    public string address;
}
</code></pre>

<p>And my controller with the database connection:</p>

<pre><code>namespace Portal.Controllers
{  
public class MyEventController : Controller
{      
    [HttpPost]
    public ActionResult Save(InputEvent y)
    {            
        MySqlConnection conn = new MySqlConnection("mydbstring");
        string myTitle = y.title;
        string myAddress = y.address;

        conn.Open();                         

        MySql.Data.MySqlClient.MySqlCommand comm = conn.CreateCommand();
        comm.CommandText = "INSERT INTO event(title, address) VALUES(@title, @address)";

        //comm.Parameters.AddWithValue("@title", myTitle);
        //comm.Parameters.AddWithValue("@address", myAddress);

        comm.Parameters.AddWithValue("@title", "test_title");
        comm.Parameters.AddWithValue("@address", "test_address");
        comm.ExecuteNonQuery();

        conn.Close();

        return View();
    }        
}
}
</code></pre>

<p>Am i not calling my controller correctly? or is my sql command invalid?</p>

<p><strong>EDIT:</strong> I just checked my database again over an hour later, and i have multiple rows with "test_title" and "test_address" in there. i guess my code works, but it is VERY delayed. This might not be the best place to ask, but does anyone have any idea why it could be so delayed inserting into the DB?</p>