public HttpResponseMessage GetExpenseBasisByCode(HttpRequestMessage request, string code)
        {
            return(GetHttpResponse(request, () =>
            {
                HttpResponseMessage response = null;

                ExpenseBasis expenseBasis = _MPROPEXService.GetAllExpenseBasisInfo().Where(c => c.Code == code).FirstOrDefault();

                // notice no need to create a seperate model object since ExpenseBasis entity will do just fine
                response = request.CreateResponse <ExpenseBasis>(HttpStatusCode.OK, expenseBasis);

                return response;
            }));
        }