Exemplo n.º 1
0
        public JsonResult CalculateOfflineBookingCost(Guid bookingId)
        {
            List <ErrorCodes> errors = new List <ErrorCodes>();

            var bookingCost = _bookingService.CalculateCost(bookingId);

            return(new JsonResult(new {
                bookingCost.TotalCost,
                bookingCost.TotalExclusiveCost,
                bookingCost.TotalFeesCost,
                bookingCost.TotalTaxesCost
            }));
        }