public HttpResponseMessage DeleteUser(int siteId, int userId) { SecurityClientProcessor.UserContext.SiteId = siteId; SecurityClientProcessor.DeleteUser(userId); return(Request.CreateResponse(HttpStatusCode.OK, CoreMessages.DeletedSuccessfully)); }
public HttpResponseMessage DeleteUser(int siteId, int userId) { SecurityClientProcessor.UserContext.SiteId = siteId; SecurityClientProcessor.DeleteUser(userId); return(Request.CreateResponse(HttpStatusCode.OK, CoreMessages.DeletedSuccessfully)); }