Example #1
0
        public HttpResponseMessage GetAvailableCostCentreDefinitions(HttpRequestMessage request)
        {
            return(GetHttpResponse(request, () =>
            {
                CostCentreDefinition[] costCentreDefinitions = _MPROPEXService.GetAllCostCentreDefinitions();

                return request.CreateResponse <CostCentreDefinition[]>(HttpStatusCode.OK, costCentreDefinitions);
            }));
        }