public async Task <IHttpActionResult> GetAll() { GetAllDataRequest model = new GetAllDataRequest(); var result = await MediatR.SendAsync(model); return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result))); }
public async Task <IHttpActionResult> CancelSightseeing(CancelSightSeeingModel model) { var result = await MediatR.SendAsync(model); return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result))); }
public async Task <IHttpActionResult> DetailsBooking(InsuranceDetailsRequestModel model) { var result = await MediatR.SendAsync(model); return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result))); }
public async Task <IHttpActionResult> SelectInsurance(SelectInsuranceModel model) { var result = await MediatR.SendAsync(model); return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result))); }
public async Task <IHttpActionResult> DetailsTransfer(TransferBookDetailsModel model) { var result = await MediatR.SendAsync(model); return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result))); }
public async Task <IHttpActionResult> GetTripDetails(WebApi.Models.GetTripDetailsModel model) { var result = await MediatR.SendAsync(model); return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result))); }
public async Task <IHttpActionResult> IssueTicket(WebApi.Models.IssueTickettModel model) { var result = await MediatR.SendAsync(model); return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result))); }
public async Task <IHttpActionResult> BookFlights(BookFlightModel model) { var result = await MediatR.SendAsync(model); return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result))); }
public async Task <IHttpActionResult> SearchFlights(WebApi.Models.Rootobject model) { var result = await MediatR.SendAsync(model); return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result))); }
public async Task <IHttpActionResult> GetCancelPNR(WebApi.Models.CancelBookingModel model) { var result = await MediatR.SendAsync(model); return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, result))); }