public PrizesController(ApplicationDbContext context, FileSavingService fileSaver, UserManager <ApplicationUser> userManager) { _context = context; _userManager = userManager; _fileSaver = fileSaver; }
public ManageController( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IEmailSender emailSender, ISmsSender smsSender, FileSavingService fileSaver, ILoggerFactory loggerFactory) { _userManager = userManager; _signInManager = signInManager; _emailSender = emailSender; _smsSender = smsSender; _logger = loggerFactory.CreateLogger <ManageController>(); _fileSaver = fileSaver; }