Esempio n. 1
0
 public ActionResult DeleteUser(long id)
 {
     try
     {
         dataHelper.DeleteUser(id);
         return(RedirectToAction("Users"));
     }
     catch (Exception ex)
     {
         logger.ErrorMessage("305", ex);
         return(View("Error", new Error()
         {
             ExDescription = ex.Message
         }));
     }
 }