public SubmitApplication(ICfChecker cfChecker, IGetActiveApplicationsByFiscalCode getActiveApplicationsByFiscalCode, IPinBuilder pinBuilder, IStoreApplication storeApplication) { this.cfChecker = cfChecker ?? throw new ArgumentNullException(nameof(cfChecker)); this.getActiveApplicationsByFiscalCode = getActiveApplicationsByFiscalCode ?? throw new ArgumentNullException(nameof(getActiveApplicationsByFiscalCode)); this.pinBuilder = pinBuilder ?? throw new ArgumentNullException(nameof(pinBuilder)); this.storeApplication = storeApplication ?? throw new ArgumentNullException(nameof(storeApplication)); }
public CfCheckController(ICfChecker cfChecker) { this.cfChecker = cfChecker ?? throw new ArgumentNullException(nameof(cfChecker)); }