Esempio n. 1
0
 public GameGenreService(IUnitOfWork unitOfWork, IGameGenreRepository gameGenreRepository)
 {
     this.unitOfWork          = unitOfWork;
     this.gameGenreRepository = gameGenreRepository;
 }
Esempio n. 2
0
        public GameGenreController()
        {
            var service = SimpleInjectorContainer.GetInstance <IGameGenreRepository>();

            _repo = (IGameGenreRepository)service;
        }