示例#1
0
        public HttpResponseMessage GetSubmitDetails(int travelRequestId)
        {
            HttpResponseMessage response             = null;
            TravelRequestSubmitDetailResponse result = null;

            try
            {
                result = travelRequestService.GetSubmitDetails(travelRequestId);

                response = Request.CreateResponse(HttpStatusCode.OK, result);
            }
            catch (Exception ex)
            {
                LogMessage.Log("GetSubmitDetails:" + ex.Message);
                response = Request.CreateResponse(HttpStatusCode.InternalServerError);
            }
            return(response);
        }
示例#2
0
        public TravelRequestSubmitDetailResponse GetSubmitDetails(int travelRequestId)
        {
            TravelRequestSubmitDetailResponse result = travelRequestRepo.GetSubmitDetails(travelRequestId);

            return(result);
        }
示例#3
0
        public TravelRequestSubmitDetailResponse GetSubmitDetails(int travelRequestId)
        {
            TravelRequestSubmitDetailResponse result = reimbursementRepository.GetSubmitDetails(travelRequestId);

            return(result);
        }