public HttpResponseMessage GetAllPPRCaptions(HttpRequestMessage request) { return(GetHttpResponse(request, () => { PPRCaption[] pprcaptions = _MPRIncomeService.GetAllPPRCaption(); return request.CreateResponse <PPRCaption[]>(HttpStatusCode.OK, pprcaptions); })); }