Esempio n. 1
0
 public NewslettersController(INewslettersService newslettersService,
                              IWebHostEnvironment webHostEnvironment,
                              SignInManager <IdentityUser> signInManager,
                              UserManager <IdentityUser> userManager)
 {
     _NewslettersService = newslettersService;
     _WebHostEnvironment = webHostEnvironment;
     _SignInManager      = signInManager;
     _UserManager        = userManager;
 }
Esempio n. 2
0
 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;
 }