Example #1
0
 public MessagesController(CoachContext context,
                           IEmailSender emailSender,
                           IConfiguration configuration)
 {
     _context       = context;
     _emailSender   = emailSender;
     _configuration = configuration;
 }
Example #2
0
 public AthletesController(
     CoachContext context,
     ApplicationDbContext appContext,
     IAuthorizationService authorizationService,
     UserManager <ApplicationUser> userManager)
 {
     _context              = context;
     _appContext           = appContext;
     _userManager          = userManager;
     _authorizationService = authorizationService;
 }
Example #3
0
 public AuthRepository(CoachContext context)
 {
     _context = context;
 }