public PeopleController(IPeopleService peopleService, // Constructor dependency injection ILanguageService languageService, IPersonLanguageRepo personLanguageRepo, IPersonGroupRepo personGroupRepo, ICityService cityService) { _peopleService = peopleService; _languageService = languageService; _personLanguageRepo = personLanguageRepo; _personGroupRepo = personGroupRepo; _cityService = cityService; }
public PeopleService(IPeopleRepo peopleRepo, IPersonGroupRepo personGroupRepo, ICityService cityService) { _peopleRepo = peopleRepo; _personGroupRepo = personGroupRepo; _cityService = cityService; }