Beispiel #1
0
 public ActionResult DeleteUser(int id)
 {
     using (var admin = new AuthenticationServiceClient())
     {
         admin.DeleteUser(id);
     }
     return(RedirectToAction("Index", "Admin"));
 }
 public Task DeleteAsync(User user)
 {
     _service.DeleteUser(user);
     return(Task.FromResult <object>(null));
 }