public BattlesController(IRepository<Battle> repositoryOfBattle, IBattlesService battlesService, IBattlesViewService battlesViewService, IInDaysLocalizer inDaysLocalizer) { _repositoryOfBattle = repositoryOfBattle; _battlesService = battlesService; _battlesViewService = battlesViewService; _inDaysLocalizer = inDaysLocalizer; }
public void Setup() { _inDaysLocalizer = new InDaysRussianLocalizer(); }
public void Setup() { _inDaysLocalizer = new InDaysEnglishLocalizer(); }
public BattlesViewService(IRepository<Battle> repositoryOfBattle, IInDaysLocalizer inDaysLocalizer, IRepository<TeamBattleStatistics> repositoryOfBattleTeamStatistics) { _repositoryOfBattle = repositoryOfBattle; _inDaysLocalizer = inDaysLocalizer; _repositoryOfBattleTeamStatistics = repositoryOfBattleTeamStatistics; }