public HttpResponseMessage GetAvailableCollateralRealizationPeriods(HttpRequestMessage request) { return(GetHttpResponse(request, () => { CollateralRealizationPeriodData[] collateralRealizationPeriods = _LoanService.GetAllCollateralRealizationPeriods(); return request.CreateResponse <CollateralRealizationPeriodData[]>(HttpStatusCode.OK, collateralRealizationPeriods); })); }