public HttpResponseMessage AddSections(Section section) { var result = QsDataRepository.AddSection(section); return(Request.CreateResponse(result ? HttpStatusCode.OK : HttpStatusCode.ExpectationFailed, result)); }