示例#1
0
        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);
        }
示例#2
0
 public String Post(Account account)
 {
     AccountBLL.DeleteUser(account);
     return("Deleted");
 }