public HttpResponseMessage DeleteUser(int id) { HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK); UserPrincipal loggedInUser = (UserPrincipal)HttpContext.Current.User; AccountBLL.DeleteUser(id, loggedInUser.AccountSession.ClubId); return(response); }
public String Post(Account account) { AccountBLL.DeleteUser(account); return("Deleted"); }