public ArtShopSeeder(ArtShopContext ctx, IHostingEnvironment hosting, UserManager <StoreUser> userManager) //ia StoreUser ca parametru generic ca sa stie ce fel de views managerul le poate manage { _ctx = ctx; _hosting = hosting; _userManager = userManager; }
public ArtShopRepository(ArtShopContext ctx, ILogger <ArtShopRepository> logger) //logger va fi legat de acest tip, iar atunci cand ma emita data vom putea vedea de un sa facut logarea { _ctx = ctx; _logger = logger; }