public HttpResponseMessage GetWebRoles(string type, string partyType) { var result = _accountServices.GetAllWebRoles(type, partyType); return(Request.CreateResponse(HttpStatusCode.OK, result)); }