Esempio n. 1
0
        public virtual IActionResult Warehouses()
        {
            if (!_permissionService.Authorize(StandardPermissionProvider.ManageShippingSettings))
            {
                return(AccessDeniedView());
            }

            //prepare model
            var model = _shippingModelFactory.PrepareWarehouseSearchModel(new WarehouseSearchModel());

            return(View(model));
        }