public HttpResponseMessage GetAllUserRoles(Guid id) { List <Role> roles = QsDataRepository.GetCurrentUserRoles(id); return(Request.CreateResponse(!roles.Any() ? HttpStatusCode.NotFound : HttpStatusCode.OK, roles)); }