Exemple #1
0
        public DatesTests()
        {
            var dbContextFactory = new InMemoryDbContextFactory();

            firstContext = new TestUserContext();
            firstGroups  = new GroupsService(firstContext, dbContextFactory);
            firstDates   = new DatesService(firstContext, dbContextFactory);
            firstAuth    = new AuthenticationService(firstContext, dbContextFactory);

            secondContext = new TestUserContext();
            secondGroups  = new GroupsService(secondContext, dbContextFactory);
            secondDates   = new DatesService(secondContext, dbContextFactory);
            secondAuth    = new AuthenticationService(secondContext, dbContextFactory);
        }
 public Handler(IArtistService artistService, IDatesService datesService)
 {
     _artistService = artistService;
     _datesService  = datesService;
 }
Exemple #3
0
 public CalendarModel(IDatesService datesService, IAppSettingsService settingsSvc)
 {
     _datesService = datesService;
     _settingsSvc  = settingsSvc;
 }
Exemple #4
0
 public IndexModel(IDatesService datesService, IAppSettingsService settingsSvc)
 {
     _datesService = datesService;
     _settingsSvc  = settingsSvc;
 }
Exemple #5
0
 public DatesController(IDatesService datesService)
 {
     _datesService = datesService;
 }