示例#1
0
 public MatchesController(ITeamLeaguesService teamLeaguesService, IFixturesService fixturesService,
                          IFieldsService fieldsService, IPlayersService usersService, IMatchesService matchesService)
 {
     this.teamLeaguesService = teamLeaguesService;
     this.fixturesService    = fixturesService;
     this.fieldsService      = fieldsService;
     this.usersService       = usersService;
     this.matchesService     = matchesService;
 }
 public FieldsController(IFieldsService fieldsService)
 {
     this.fieldsService = fieldsService;
 }
示例#3
0
 internal Fields(IFieldsService fields, IListDataService lists, ICacheService cacheService)
 {
     this.fields       = fields;
     this.lists        = lists;
     this.cacheService = cacheService;
 }
        public FeildsServiceTest()
        {
            _mapperFactoryMock.Setup(value => value.GetMapper(typeof(CoreServices).Name)).Returns(_mapperMock.Object);

            _fieldsService = new FieldsService(_mapperFactoryMock.Object, _unitOfWorkMock.Object, _fieldRepositoryMock.Object);
        }
 public FieldsController(IFieldsService service, IFieldRepository repository)
 {
     _service    = service;
     _repository = repository;
 }
示例#6
0
 public FieldsMappingRuleService(IFieldsMappingRulesRepository repository, IFieldsService fieldsService)
 {
     _repository    = repository;
     _fieldsService = fieldsService;
 }
示例#7
0
 public FieldsController(IFieldsService fieldsService, IUsersService userService)
 {
     this.fieldsService = fieldsService;
     this.userService   = userService;
 }
示例#8
0
 public FieldsController(IMapperFactory mapperFactory, IFieldsService fieldService) : base(mapperFactory) =>
 public FieldsController(IBusPublisher busPublisher, ITracer tracer,
                         IFieldsService fieldsService) : base(busPublisher, tracer)
 {
     _fieldsService = fieldsService;
 }