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

            //prepare model
            var model = _shippingModelFactory.PrepareShippingMethodSearchModel(new ShippingMethodSearchModel());

            return(View(model));
        }