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

            //prepare model
            var model = _shippingModelFactory.PrepareWarehouseModel(new WarehouseModel(), null);

            return(View(model));
        }