Пример #1
0
        public async Task <IHttpActionResult> GetAll()
        {
            GetAllDataRequest model = new GetAllDataRequest();
            var result = await MediatR.SendAsync(model);

            return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result)));
        }
Пример #2
0
        public async Task <IHttpActionResult> CancelSightseeing(CancelSightSeeingModel model)
        {
            var result = await MediatR.SendAsync(model);

            return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result)));
        }
Пример #3
0
        public async Task <IHttpActionResult> DetailsBooking(InsuranceDetailsRequestModel model)
        {
            var result = await MediatR.SendAsync(model);

            return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result)));
        }
Пример #4
0
        public async Task <IHttpActionResult> SelectInsurance(SelectInsuranceModel model)
        {
            var result = await MediatR.SendAsync(model);

            return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result)));
        }
Пример #5
0
        public async Task <IHttpActionResult> DetailsTransfer(TransferBookDetailsModel model)
        {
            var result = await MediatR.SendAsync(model);

            return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result)));
        }
Пример #6
0
        public async Task <IHttpActionResult> GetTripDetails(WebApi.Models.GetTripDetailsModel model)
        {
            var result = await MediatR.SendAsync(model);

            return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result)));
        }
Пример #7
0
        public async Task <IHttpActionResult> IssueTicket(WebApi.Models.IssueTickettModel model)
        {
            var result = await MediatR.SendAsync(model);

            return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result)));
        }
Пример #8
0
        public async Task <IHttpActionResult> BookFlights(BookFlightModel model)
        {
            var result = await MediatR.SendAsync(model);

            return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result)));
        }
Пример #9
0
        public async Task <IHttpActionResult> SearchFlights(WebApi.Models.Rootobject model)
        {
            var result = await MediatR.SendAsync(model);

            return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result)));
        }
Пример #10
0
        public async Task <IHttpActionResult> GetCancelPNR(WebApi.Models.CancelBookingModel model)
        {
            var result = await MediatR.SendAsync(model);

            return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result)));
        }