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)); }
public MasterDataController(IMasterdataRepository masterdataRepository) { _masterdataRepository = masterdataRepository; }