// ILogger - take it as a generic argument itself // Logger will be tied to this type so when it emits data, we will be able to see where the logging came from public DutchRepository(Dutchcontext context, ILogger <DutchRepository> logger) { _context = context; _logger = logger; }
public DutchSeeder(Dutchcontext context, IWebHostEnvironment hosting, UserManager <StoreUser> userManager) { _context = context; _hosting = hosting; _userManager = userManager; }