public GameGenreService(IUnitOfWork unitOfWork, IGameGenreRepository gameGenreRepository) { this.unitOfWork = unitOfWork; this.gameGenreRepository = gameGenreRepository; }
public GameGenreController() { var service = SimpleInjectorContainer.GetInstance <IGameGenreRepository>(); _repo = (IGameGenreRepository)service; }