public CalendarEventViewModelGetter(IEventRepository eventRepo, IInviteeRepository inviteeRepo, UserManager <ApplicationUser> userManager)
 {
     _eventRepo     = eventRepo;
     _inviteeRepo   = inviteeRepo;
     _userManager   = userManager;
     _inviteeHelper = new InviteeHelper(inviteeRepo, userManager);
 }
 public SchedulerController(UserManager <ApplicationUser> userManager, ILoggerFactory loggerFactory, IEventRepository eventRepo, IInviteeRepository inviteeRepo)
 {
     _userManager             = userManager;
     _logger                  = loggerFactory.CreateLogger <SchedulerController>();
     _eventRepo               = eventRepo;
     _inviteeRepo             = inviteeRepo;
     _calendarViewModelGetter = new CalendarEventViewModelGetter(eventRepo, inviteeRepo, userManager);
     _inviteeHelper           = new InviteeHelper(inviteeRepo, userManager);
 }
Beispiel #3
0
 public InviteeHelper(IInviteeRepository inviteeRepo, UserManager <ApplicationUser> userManager)
 {
     _inviteeRepo = inviteeRepo;
     _userManager = userManager;
 }