Beispiel #1
0
 public IPeopleController(IPeopelService peopleservice,
                          ICityService cityService,
                          ILanguageService languageService,
                          IPersonLanguageService personLanguageServic) //constructur for Dependency injection
 {
     _peopleService         = peopleservice;
     _cityService           = cityService;
     _languageService       = languageService;
     _personLanguageService = personLanguageServic;
 }
Beispiel #2
0
 public CityController(ICityService cityService, ICountryService countryService, IPeopelService peopleService)
 {
     this._cityService    = cityService;
     this._countryService = countryService;
     this._peopleService  = peopleService;
 }
 public AjaxController(IPeopelService peopelService)
 {
     _peopleService = peopelService;
 }