public SpeakersApiController(
     CodecampDbContext context,
     ISpeakerBusinessLogic speakerBL)
 {
     _context   = context;
     _speakerBL = speakerBL;
 }
 public SpeakersController(
     UserManager <CodecampUser> userManager,
     CodecampDbContext context,
     ISpeakerBusinessLogic speakerBL,
     IUserBusinessLogic userBL)
 {
     _context     = context;
     _userManager = userManager;
     _speakerBL   = speakerBL;
     _userBL      = userBL;
 }
 public SessionsController(
     CodecampDbContext context,
     UserManager <CodecampUser> userManager,
     ISessionBusinessLogic sessionBL,
     IEventBusinessLogic eventBL,
     ISpeakerBusinessLogic speakerBL)
 {
     _context     = context;
     _userManager = userManager;
     _sessionBL   = sessionBL;
     _eventBL     = eventBL;
     _speakerBL   = speakerBL;
 }
Example #4
0
 public IndexModel(
     UserManager <CodecampUser> userManager,
     SignInManager <CodecampUser> signInManager,
     IEmailSender emailSender,
     CodecampDbContext context,
     IEventBusinessLogic eventBL,
     ISpeakerBusinessLogic speakerBL)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _emailSender   = emailSender;
     _context       = context;
     _eventBL       = eventBL;
     _speakerBL     = speakerBL;
 }