//t public PeopleService(IPeopleRepo peopleRepo, IPersonLanguageRepo personLanguageRepo, ILanguageRepo languageRepo) { _personRepo = peopleRepo; _personLanguageRepo = personLanguageRepo; _languageRepo = languageRepo; }
public PeopleServiceTests() { _peopleRepo = Substitute.For <IPeopleRepo>(); _placeRepo = Substitute.For <IPlaceRepo>(); _peopleService = new PeopleService(_peopleRepo, _placeRepo); }
public PeopleRepoTests() { _peopleStore = Substitute.For <IPeopleStore>(); _fileService = Substitute.For <IFileService>(); _jsonService = Substitute.For <IJsonService>(); _peopleRepo = new PeopleRepo(_peopleStore, _fileService, _jsonService, Options.Create(new DataFileSettings())); }
public LanguageService(ILanguageRepo languageRepo, IPeopleRepo peopleRepo, IPersonLanguageService personLangService, IPersonLangRepo personLangRepo, IPeopleServices peopleService) { _languageRepo = languageRepo; _peopleRepo = peopleRepo; _personLangService = personLangService; _personLangRepo = personLangRepo; _peopleService = peopleService; }
//private readonly ILanguageService _langService; public PeopleService(IPeopleRepo peopleRepo, IPersonLanguageService personLangservice) //, ILanguageService langService) { pr = peopleRepo; _personLangservice = personLangservice; // _langService = langService; }
public PeopleService(IPeopleRepo peopleRepo, IPlaceRepo placeRepo) { _peopleRepo = peopleRepo; _placeRepo = placeRepo; }
//private readonly ICityService _cityService; /*public CityService(ICityRepo cityRepo, ICityService cityService) * { * _cityRepo = cityRepo; * _cityService = cityService; * }*/ public CityService(ICityRepo cityRepo, IPeopleRepo peopleRepo) { _cityRepo = cityRepo; _peopleRepo = peopleRepo; }
public PeopleController(IPeopleRepo repository, IMapper mapper) { _repository = repository; _mapper = mapper; }
public PeopleService(IPeopleRepo peopleRepo, ILanguageService languageService) { _languageService = languageService; _peopleRepo = peopleRepo; }
public PeopleService(IPeopleRepo peopleRepo) { _peopleRepo = peopleRepo; }
public PeopleService(IPeopleRepo peopleRepo, IPersonGroupRepo personGroupRepo, ICityService cityService) { _peopleRepo = peopleRepo; _personGroupRepo = personGroupRepo; _cityService = cityService; }
public PeopleService(IPeopleRepo peopleRepo, ICityRepo cityRepo) { _peopleRepo = peopleRepo; _cityRepo = cityRepo; }
//ICountryRepo _countryRepo; public PeopleService(IPeopleRepo peopleRepo, ICityRepo cityRepo) /*ICountryRepo countryRepo)*/ { _peopleRepo = peopleRepo; _cityRepo = cityRepo; //_countryRepo = countryRepo; }
public PeopleService(IPeopleRepo peopleRepo) { pr = peopleRepo; }
public PersonService(IPeopleRepo personsRepo) { _personsRepo = personsRepo; }
public PeopleController(IPeopleRepo repository) { _repository = repository; }
public CityController(ICityService cityService, ICountryService countryService, IPeopleRepo peopleRepo) { _cityService = cityService; _countryService = countryService; _peopleRepo = peopleRepo; }
public CityService(IPeopleRepo peopleRepo, ICityRepo cityRepo, ICountryRepo countryRepo) { _cityRepo = cityRepo; _peopleRepo = peopleRepo; _countryRepo = countryRepo; }
IPeopleRepo _peopleRepo; //storage for Person data public PeopleService() { _peopleRepo = new PeopleRepo(); }