public HttpResponseMessage CreateNewRole(Role role) { var result = QsDataRepository.CreateNewRole(role); return(Request.CreateResponse(result ? HttpStatusCode.OK : HttpStatusCode.NotFound, result)); }