Пример #1
0
 public AccountController(
     UserManager<ApplicationUser> userManager,
     SignInManager<ApplicationUser> signInManager,
     IEmailSender emailSender,
     ISmsSender smsSender,
     MyCountriesContext context)
 {
   _userManager = userManager;
   _signInManager = signInManager;
   _emailSender = emailSender;
   _smsSender = smsSender;
   _context = context;
 }
Пример #2
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IEmailSender emailSender,
     ISmsSender smsSender,
     MyCountriesContext context)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _emailSender   = emailSender;
     _smsSender     = smsSender;
     _context       = context;
 }
 public SampleDataInitializer(MyCountriesContext ctx)
 {
   _ctx = ctx;
 }
 public MyCountriesRepository(MyCountriesContext context)
 {
   _context = context;
 }
Пример #5
0
 public SampleData(MyCountriesContext ctx, UserManager<ApplicationUser> userManager)
 {
   _ctx = ctx;
   _userManager = userManager;
 }