Exemplo n.º 1
0
 public ActionResult DeleteUser(string login)
 {
     using (IPL db = new PL())
     {
         if (db.DeleteUser(login))
         {
             return(RedirectToAction("ShowAllUsers", "Admin"));
         }
     }
     return(View());
 }