public HttpResponseMessage GetRole(int siteId, int roleId) { SecurityClientProcessor.UserContext.SiteId = siteId; RoleModel role = SecurityClientProcessor.GetRole(roleId); return(Request.CreateResponse(HttpStatusCode.OK, role)); }
public HttpResponseMessage GetRole(int siteId, int roleId) { SecurityClientProcessor.UserContext.SiteId = siteId; RoleModel role = SecurityClientProcessor.GetRole(roleId); return(Request.CreateResponse(HttpStatusCode.OK, role)); }