public ActionResult Edit([Bind(Include = "Id,UserTypeId,UserTypeName,Archived,DateLastUpdated,UserLastUpdated,DateCreated,UserCreated")] UserType userType) { if (ModelState.IsValid) { service.EditUserType(userType, db); return(RedirectToAction("Index")); } return(View(userType)); }
public ActionResult EditUserType(UserType uType) { uTypeService.EditUserType(uType); return(RedirectToAction("UserTypes", "User")); }