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