示例#1
0
        public HttpResponseMessage DeleteUser(HttpRequestMessage request, [FromBody] string username)
        {
            return(Execute(request, () =>
            {
                _userService.DeleteUser(username);

                return request.CreateResponse(HttpStatusCode.OK);
            }));
        }
示例#2
0
 public void DeleteUser(int id)
 {
     applicationUserService.DeleteUser(id);
 }