Beispiel #1
0
 internal SearchOrderResponse SearchOrder(SearchOrderRequest request)
 {
     try
     {
         return(TripOrderDBFacade.SearchOrder(request));
     }
     catch
     {
         throw new AppException(AppErrorEnum.InternalServerError);
     }
 }
Beispiel #2
0
        public static int CreateOrder(CreateOrderInput input)
        {
            OrderEntity orderEntity = ConvertHelper <CreateOrderInput, OrderEntity> .Convert(input);

            return(TripOrderDBFacade.CreateOrder(orderEntity));
        }
Beispiel #3
0
 internal SearchOrderResponse SearchOrder(SearchOrderRequest request)
 {
     return(TripOrderDBFacade.SearchOrder(request));
 }