public HttpResponseMessage GetAvailableBondPeriodicSchedules(HttpRequestMessage request) { return(GetHttpResponse(request, () => { BondPeriodicSchedule[] bondperiodicschedule = _IFRSDataService.GetAllBondPeriodicSchedules(); return request.CreateResponse <BondPeriodicSchedule[]>(HttpStatusCode.OK, bondperiodicschedule); })); }