Exemple #1
0
 public BrowseController(IEventService eventService, IEvent_OwnerService eventOwnerService,
                         IEvent_UserService eventUserService, IApplicationUserService applicationUserService)
 {
     _eventService           = eventService;
     _eventOwnerService      = eventOwnerService;
     _eventUserService       = eventUserService;
     _applicationUserService = applicationUserService;
 }
Exemple #2
0
 //This big chunk of code allows for access to the entire db, essentially.
 public ManageController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IEmailSender emailSender,
     ILogger <ManageController> logger,
     UrlEncoder urlEncoder,
     IEventService eventService, IEvent_UserService event_UserService, IEvent_OwnerService event_OwnerService,
     ApplicationDbContext context, IApplicationUserService applicationUserService)
 {
     _userManager            = userManager;
     _signInManager          = signInManager;
     _emailSender            = emailSender;
     _logger                 = logger;
     _urlEncoder             = urlEncoder;
     _eventService           = eventService;
     _event_OwnerService     = event_OwnerService;
     _event_UserService      = event_UserService;
     _context                = context;
     _applicationUserService = applicationUserService;
 }