示例#1
0
 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;
 }
示例#3
0
 public StoreLegalPersonService(
     INotifier notifier,
     IUnitOfWork unitOfWork,
     IStoreAddressService storeAddressService,
     IStoreDocumentService storeDocumentService,
     ILegalPersonRepository legalPersonRepository)
     : base(notifier)
 {
     _unitOfWork            = unitOfWork;
     _storeAddressService   = storeAddressService;
     _storeDocumentService  = storeDocumentService;
     _legalPersonRepository = legalPersonRepository;
 }
示例#4
0
 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;
 }
示例#5
0
 public LegalPersonService(ILegalPersonRepository personRepository)
 {
     _personRepository = personRepository;
 }
示例#6
0
 public LegalPersonService(ILegalPersonRepository legalPersonRepository)
 {
     this.legalPersonRepository = legalPersonRepository ?? throw new ArgumentNullException("Legal Person Repository not found!");
 }