public JsonResult GetSchedulesPricingById(int schedulesPricingId)
        {
            _serviceEndPoint = new ServicesEndPoint.GeneralSevices.ServicesEndPoint(_simbaToursUnitOfWork, _emailService);
            var result = _serviceEndPoint.GetSchedulesPricing().FirstOrDefault(p => p.SchedulesPricingId == schedulesPricingId);

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

            SchedulesPricing[] deals = _serviceEndPoint.GetSchedulesPricing();

            return(Json(deals));
        }