public NewslettersController(INewslettersService newslettersService, IWebHostEnvironment webHostEnvironment, SignInManager <IdentityUser> signInManager, UserManager <IdentityUser> userManager) { _NewslettersService = newslettersService; _WebHostEnvironment = webHostEnvironment; _SignInManager = signInManager; _UserManager = userManager; }
public HomeController(IContactsService contactsService, IAlbumsService albumsService, IEventsService eventsService, INewslettersService newslettersService, INewsItemsService newsItemsService, SignInManager <IdentityUser> signInManager, UserManager <IdentityUser> userManager) { _ContactsService = contactsService; _AlbumsService = albumsService; _EventsService = eventsService; _NewslettersService = newslettersService; _NewsItemsService = newsItemsService; _SignInManager = signInManager; _UserManager = userManager; }