Example #1
0
 public CountryController(ICountryLogic countryLogic)
 {
     this.countryLogic = countryLogic;
     this.config       = new MapperConfiguration(cfg => {
         cfg.AddProfile <CountryAutoMapperProfile>();
     });
     this.mapper = config.CreateMapper();
 }
Example #2
0
 public CountryBL(ICountryLogic countryLogic, ICityLogic cityLogic, IRegionLogic regionLogic)
 {
     _countryLogic = countryLogic;
     _cityLogic    = cityLogic;
     _regionLogic  = regionLogic;
 }
Example #3
0
 public ApplicantController(ILogger <ApplicantController> logger, ICountryLogic countryLogic)
 {
     this._logger       = logger;
     this._countryLogic = countryLogic;
 }
Example #4
0
 public QueryCountryController(ILogger <QueryCountryController> logger, ICountryLogic countryLogic)
 {
     this._logger       = logger;
     this._countryLogic = countryLogic;
 }
 public CountriesController(ICountryLogic countries)
 {
     _countries = countries;
 }