public ActionResult Delete(string id, ConfigUser model) { id = Server.UrlDecode(id); var user = userReader.GetUser(id); ValidateAccess(user); userReader.DeleteUser(user); ViewBag.UserId = id; return(RedirectToAction("Index")); }
public HttpStatusCode Delete(int id) { return(_userFacade.DeleteUser(id)); }