public ContractValidator(IIndividualValidator individualValidator, IMobileDeviceValidator mobileDeviceValidator, INumberValidator numberValidator, IPetValidator petValidator, IRealtyValidator realtyValidator, IVehicleValidator vehicleValidator)
 {
     _individualValidator   = individualValidator;
     _mobileDeviceValidator = mobileDeviceValidator;
     _petValidator          = petValidator;
     _realtyValidator       = realtyValidator;
     _vehicleValidator      = vehicleValidator;
 }
Exemple #2
0
 public ClientService(IUnitOfWork _unitOfWork)
 {
     unitOfWork   = _unitOfWork;
     validator    = new ClientValidator(unitOfWork);
     petValidator = new PetValidator(unitOfWork);
 }