コード例 #1
0
 public SpeakersApiController(
     CodecampDbContext context,
     ISpeakerBusinessLogic speakerBL)
 {
     _context   = context;
     _speakerBL = speakerBL;
 }
コード例 #2
0
 public SpeakersController(
     UserManager <CodecampUser> userManager,
     CodecampDbContext context,
     ISpeakerBusinessLogic speakerBL,
     IUserBusinessLogic userBL)
 {
     _context     = context;
     _userManager = userManager;
     _speakerBL   = speakerBL;
     _userBL      = userBL;
 }
コード例 #3
0
 public SessionsController(
     CodecampDbContext context,
     UserManager <CodecampUser> userManager,
     ISessionBusinessLogic sessionBL,
     IEventBusinessLogic eventBL,
     ISpeakerBusinessLogic speakerBL)
 {
     _context     = context;
     _userManager = userManager;
     _sessionBL   = sessionBL;
     _eventBL     = eventBL;
     _speakerBL   = speakerBL;
 }
コード例 #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;
 }