Пример #1
0
 public CardGamesController(ApplicationDbContext context, IRandomNumbersService randomNumbersService)
 {
     _context = context;
     _randomNumbersService = randomNumbersService;
 }
Пример #2
0
 public GamesController(ApplicationDbContext context, UserManager <ApplicationUser> userManager, IRandomNumbersService randomNumbersService)
 {
     _context              = context;
     _userManager          = userManager;
     _randomNumbersService = randomNumbersService;
 }
Пример #3
0
 public CardsController(ApplicationDbContext context, IWebHostEnvironment hostingEnvironment, IRandomNumbersService randomNumbersService)
 {
     _context              = context;
     _hostingEnvironment   = hostingEnvironment;
     _randomNumbersService = randomNumbersService;
 }