Ejemplo n.º 1
0
 public ActionResult Edit(Category category)
 {
     if (!isAuthenticated())
     {
         return(RedirectToAction("Index", "Auth"));
     }
     _categoryBll.Edit(category.CategoryId, category);
     return(RedirectToAction("Index"));
 }