Ejemplo n.º 1
0
 public AccountEstimation(AccountEstimationModel model, IVirtualApprenticeshipValidator validator, IDateTimeService dateTimeService)
 {
     Model            = model ?? throw new ArgumentNullException(nameof(model));
     _validator       = validator ?? throw new ArgumentNullException(nameof(validator));
     _dateTimeService = dateTimeService;
 }
Ejemplo n.º 2
0
 public AccountEstimationRepository(IAccountEstimationDataService dataService, IVirtualApprenticeshipValidator validator, IDateTimeService dateTimeService)
 {
     _dataService     = dataService ?? throw new ArgumentNullException(nameof(dataService));
     _validator       = validator ?? throw new ArgumentNullException(nameof(validator));
     _dateTimeService = dateTimeService;
 }