public DeleteLegalPersonService( INotifier notifier, IUnitOfWork unitOfWork, IAddressRepository addressRepository, IDocumentRepository documentRepository, ILegalPersonRepository legalPersonRepository) : base(notifier) { _unitOfWork = unitOfWork; _addressRepository = addressRepository; _documentRepository = documentRepository; _legalPersonRepository = legalPersonRepository; }
public UpdateLegalPersonService( INotifier notifier, IUnitOfWork unitOfWork, IUpdateAddressService updateAddressService, IUpdateDocumentService updateDocumentService, ILegalPersonRepository legalPersonRepository) : base(notifier) { _unitOfWork = unitOfWork; _updateAddressService = updateAddressService; _updateDocumentService = updateDocumentService; _legalPersonRepository = legalPersonRepository; }
public StoreLegalPersonService( INotifier notifier, IUnitOfWork unitOfWork, IStoreAddressService storeAddressService, IStoreDocumentService storeDocumentService, ILegalPersonRepository legalPersonRepository) : base(notifier) { _unitOfWork = unitOfWork; _storeAddressService = storeAddressService; _storeDocumentService = storeDocumentService; _legalPersonRepository = legalPersonRepository; }
public LegalPersonController( IMapper mapper, INotifier notifier, ILegalPersonRepository legalPersonRepository, IStoreLegalPersonService storeLegalPersonService, IUpdateLegalPersonService updateLegalPersonService, IDeleteLegalPersonService deleteLegalPersonService) : base(notifier) { _mapper = mapper; _legalPersonRepository = legalPersonRepository; _storeLegalPersonService = storeLegalPersonService; _updateLegalPersonService = updateLegalPersonService; _deleteLegalPersonService = deleteLegalPersonService; }
public LegalPersonService(ILegalPersonRepository personRepository) { _personRepository = personRepository; }
public LegalPersonService(ILegalPersonRepository legalPersonRepository) { this.legalPersonRepository = legalPersonRepository ?? throw new ArgumentNullException("Legal Person Repository not found!"); }