示例#1
0
 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();
 }
示例#4
0
 public BattlesViewService(IRepository<Battle> repositoryOfBattle, IInDaysLocalizer inDaysLocalizer, IRepository<TeamBattleStatistics> repositoryOfBattleTeamStatistics)
 {
     _repositoryOfBattle = repositoryOfBattle;
     _inDaysLocalizer = inDaysLocalizer;
     _repositoryOfBattleTeamStatistics = repositoryOfBattleTeamStatistics;
 }