Exemple #1
0
 public MasterdataCapturer(IDocumentValidator validator, IMasterdataParser masterdataParser, IUserProvider userProvider, IMasterdataRepository masterdataRepository)
 {
     _validator            = validator ?? throw new ArgumentNullException(nameof(validator));
     _masterdataParser     = masterdataParser ?? throw new ArgumentNullException(nameof(masterdataParser));
     _userProvider         = userProvider ?? throw new ArgumentNullException(nameof(userProvider));
     _masterdataRepository = masterdataRepository ?? throw new ArgumentNullException(nameof(masterdataRepository));
 }
Exemple #2
0
 public MasterDataController(IMasterdataRepository masterdataRepository)
 {
     _masterdataRepository = masterdataRepository;
 }