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