Exemple #1
0
 public HomeController(IEventsAdminService eventAdminService,
                       UserManager <User> userManager,
                       IEmailSender emailSender,
                       IEmailService emailService)
 {
     this.eventAdminService = eventAdminService;
     this.userManager       = userManager;
     this.emailSender       = emailSender;
     this.emailService      = emailService;
 }
 public EventsController(IEventsAdminService eventAdminService,
                         IEventsService eventService,
                         IHallsAdminService hallAdminService,
                         IEmailSender emailSender,
                         IEmailService emailService)
 {
     this.eventAdminService = eventAdminService;
     this.eventService      = eventService;
     this.hallAdminService  = hallAdminService;
     this.emailSender       = emailSender;
     this.emailService      = emailService;
 }