public PassValidityChecker(IDateService dateService,
                            PassContext passContext,
                            PassTypeContext passTypeContext)
 {
     _passTypeContext = passTypeContext;
     _passContext     = passContext;
     _dateService     = dateService;
 }
Beispiel #2
0
 public PassController(PassContext passContext, PassTypeContext passTypeContext)
 {
     _passTypeContext = passTypeContext;
     _passContext     = passContext;
 }
Beispiel #3
0
 public PassValidityCheckerTests()
 {
     _mockDateService = new Mock <IDateService>();
     _passContext     = new PassContext(InMemoryDbContextOptionsFactory.Create <PassContext>());
     _passTypeContext = new PassTypeContext(InMemoryDbContextOptionsFactory.Create <PassTypeContext>());
 }