public PermissionFilter( IWorkContext workContext, IPermissionService permissionService, PermissionRequirement requirement) { _workContext = workContext; _permissionService = permissionService; _requirement = requirement; }
public PermissionFilter( IWorkContext workContext, Lazy <IUrlHelper> urlHelper, Lazy <ITempDataDictionaryFactory> tempDataDictionaryFactory, IPermissionService permissionService, PermissionRequirement requirement) { _workContext = workContext; _urlHelper = urlHelper; _tempDataDictionaryFactory = tempDataDictionaryFactory; _permissionService = permissionService; _requirement = requirement; }