public JsonResult GetDealsPricingById(int dealPricingId)
        {
            _serviceEndPoint = new ServicesEndPoint.GeneralSevices.ServicesEndPoint(_simbaToursUnitOfWork, _emailService);
            var result = _serviceEndPoint.GetDealsPricing().FirstOrDefault(p => p.DealsPricingId == dealPricingId);

            return(Json(result));
        }
예제 #2
0
        public JsonResult GetDealsPricing()
        {
            _serviceEndPoint = new ServicesEndPoint.GeneralSevices.ServicesEndPoint(_simbaToursUnitOfWork, _emailService);

            DealsPricing[] deals = _serviceEndPoint.GetDealsPricing();

            return(Json(deals));
        }