Esempio n. 1
0
 public GameController(
     ApplicationDbContext context,
     ICharacterItemsRepo characterItemsRepo,
     IItemRepo itemsRepo,
     IRarityRepo rarityRepo,
     IDbContextHelper contextHelper,
     ICharacterHelper characterHelper,
     IWebHostEnvironment hostEnv)
 {
     _context            = context;
     _characterItemsRepo = characterItemsRepo;
     _itemsRepo          = itemsRepo;
     _rarityRepo         = rarityRepo;
     _contextHelper      = contextHelper;
     _characterHelper    = characterHelper;
     _hostingEnv         = hostEnv;
 }
Esempio n. 2
0
 public CharacterController(ICharacterHelper characterHelper)
 {
     _characterHelper = characterHelper;
 }