Example #1
0
 //[ValidateAntiForgeryToken]
 public ActionResult Create(Category category)
 {
     if (ModelState.IsValid)
     {
         objCategoryBO.InsertCategory(category);
         return(RedirectToAction("Index"));
     }
     return(View(category));
 }