Пример #1
0
 public MemoriesController(AppDbContext _context, UserManager <AppUser> userManager, IMemorieRepository memorieRepository, IGameRepository gameRepository)
 {
     context                = _context;
     this.userManager       = userManager;
     this.gameRepository    = gameRepository;
     this.memorieRepository = memorieRepository;
 }
Пример #2
0
 public HomeController(IGameRepository gameRepository, IMemorieRepository memorieRepository, UserManager <AppUser> userManager,
                       SignInManager <AppUser> signInManager, IAmazonS3Bucket uploadImage)
 {
     this.gameRepository    = gameRepository;
     this.memorieRepository = memorieRepository;
     this.userManager       = userManager;
     this.signInManager     = signInManager;
     this.uploadImage       = uploadImage;
 }
Пример #3
0
 public AccountController(UserManager <AppUser> userManager, SignInManager <AppUser> signInManager,
                          AppDbContext db, IEmailSender emailSender, IGameRepository gameRepository, IMemorieRepository memorieRepository)
 {
     this.userManager       = userManager;
     this.signInManager     = signInManager;
     this.db                = db;
     this.emailSender       = emailSender;
     this.gameRepository    = gameRepository;
     this.memorieRepository = memorieRepository;
 }
Пример #4
0
 public AdministrationController(RoleManager <IdentityRole> roleManager, ILogger <AdministrationController> logger, UserManager <AppUser> userManager,
                                 IPendingGameRepository pendingGameRepository, IGameRepository gameRepository, IEmailSender emailSender, SignInManager <AppUser> signInManager,
                                 IMemorieRepository memorieRepository)
 {
     this.roleManager           = roleManager;
     this.logger                = logger;
     this.userManager           = userManager;
     this.pendingGameRepository = pendingGameRepository;
     this.gameRepository        = gameRepository;
     this.emailSender           = emailSender;
     this.signInManager         = signInManager;
     this.memorieRepository     = memorieRepository;
 }