protected BaseController(IUser user, IAppNotificationHandler <DomainNotification> errors) { Errors = errors; if (user.IsAuthenticated()) { UserId = user.GetUserId(); } }
public Handler(IUnitOfWork unitOfWork, IAppNotificationHandler appNotificationHandler, ITokenGenerator tokenGenerator, IPasswordHasher <AppUser> passwordHasher) { _unitOfWork = unitOfWork; _appNotificationHandler = appNotificationHandler; _tokenGenerator = tokenGenerator; _passwordHasher = passwordHasher; }
public Handler(IUnitOfWork unitOfWork, IAppNotificationHandler appNotificationHandler, IDistributedCache distributedCache, IMapper mapper) { _unitOfWork = unitOfWork; _appNotificationHandler = appNotificationHandler; _distributedCache = distributedCache; _mapper = mapper; }
public AccountController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IEmailSender emailSender, TokenDescriptor tokenDescriptor, IUser user, IAppNotificationHandler <DomainNotification> notification) : base(user, notification) { _userManager = userManager; _signInManager = signInManager; _emailSender = emailSender; _tokenDescriptor = tokenDescriptor; }
public Handler(IUnitOfWork unitOfWork, IPasswordHasher <AppUser> passwordHasher, IAppNotificationHandler appNotificationHandler, IMapper mapper, IDistributedCache distributedCache) { _unitOfWork = unitOfWork; _passwordHasher = passwordHasher; _appNotificationHandler = appNotificationHandler; _mapper = mapper; _distributedCache = distributedCache; }
public Handler(IUnitOfWork unitOfWork, IMapper mapper, IAppNotificationHandler appNotificationHandler) { _unitOfWork = unitOfWork; _mapper = mapper; _appNotificationHandler = appNotificationHandler; }
public ValuesController(IUser user, IAppNotificationHandler <DomainNotification> notification) : base(user, notification) { }
public NotificationFilter(IAppNotificationHandler appNotificationHandler) { _appNotificationHandler = appNotificationHandler; }