public CountryValidator(ICountriesDal countriesDal, IMapper mapper) { CountriesDal = countriesDal; Mapper = mapper; }
public CountrySubdivisionValidator(ICountriesDal countriesDal, ICountrySubdivisionsDal countrySubdivisionsDal, IMapper mapper) { CountriesDal = countriesDal; CountrySubdivisionsDal = countrySubdivisionsDal; Mapper = mapper; }
public CountriesController(ICountriesDal dal, IMapper mapper, IContractValidator <Country> contractValidator) : base(dal, mapper, contractValidator) { CreatedRouteName = Routes.GetCountryNamedRouteName; ControllerName = Routes.CountryControllerName; }