public DeleteNaturalPersonService( INotifier notifier, IUnitOfWork unitOfWork, IAddressRepository addressRepository, IDocumentRepository documentRepository, INaturalPersonRepository naturalPersonRepository) : base(notifier) { _unitOfWork = unitOfWork; _addressRepository = addressRepository; _documentRepository = documentRepository; _naturalPersonRepository = naturalPersonRepository; }
public UpdateNaturalPersonService( INotifier notifier, IUnitOfWork unitOfWork, IUpdateAddressService updateAddressService, IUpdateDocumentService updateDocumentService, INaturalPersonRepository naturalPersonRepository) : base(notifier) { _unitOfWork = unitOfWork; _updateAddressService = updateAddressService; _updateDocumentService = updateDocumentService; _naturalPersonRepository = naturalPersonRepository; }
public StoreNaturalPersonService( INotifier notifier, IUnitOfWork unitOfWork, IStoreAddressService storeAddressService, IStoreDocumentService storeDocumentService, INaturalPersonRepository naturalPersonRepository) : base(notifier) { _unitOfWork = unitOfWork; _storeAddressService = storeAddressService; _storeDocumentService = storeDocumentService; _naturalPersonRepository = naturalPersonRepository; }
public NaturalPersonService(INaturalPersonRepository naturalPersonRepository) { this.naturalPersonRepository = naturalPersonRepository ?? throw new ArgumentNullException("Natural Person Repository not found!"); }
public NaturalPersonService(INaturalPersonRepository personRepository) { _personRepository = personRepository; }