public HttpResponseMessage UpdateCategory(HttpRequestMessage request, [FromBody] SCDCategory categoryModel) { return(GetHttpResponse(request, () => { var category = _ScorecardService.UpdateSCDCategory(categoryModel); return request.CreateResponse <SCDCategory>(HttpStatusCode.OK, category); })); }