Example #1
0
        public virtual IActionResult DeliveryDates(DeliveryDateSearchModel searchModel)
        {
            if (!_permissionService.Authorize(StandardPermissionProvider.ManageShippingSettings))
            {
                return(AccessDeniedKendoGridJson());
            }

            //prepare model
            var model = _shippingModelFactory.PrepareDeliveryDateListModel(searchModel);

            return(Json(model));
        }