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); }
public TravelRequestSubmitDetailResponse GetSubmitDetails(int travelRequestId) { TravelRequestSubmitDetailResponse result = travelRequestRepo.GetSubmitDetails(travelRequestId); return(result); }
public TravelRequestSubmitDetailResponse GetSubmitDetails(int travelRequestId) { TravelRequestSubmitDetailResponse result = reimbursementRepository.GetSubmitDetails(travelRequestId); return(result); }