Exemple #1
0
    public ActionResult Add(string title)
    {
        dbUtility.NonQuery("INSERT Tasks ( Title, Completed ) VALUES ( {...} )", title, false);

        return(RedirectToAction("Index"));
    }