Beispiel #1
0
 public ActionResult AddCategory(string cat)
 {
     string category = Request.Form["category"];
     var repo = new PolicyRepository();
     repo.AddCategory(category);
     return RedirectToAction("AddPolicy", "Policy");
 }