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; }
public CalendarModel(IDatesService datesService, IAppSettingsService settingsSvc) { _datesService = datesService; _settingsSvc = settingsSvc; }
public IndexModel(IDatesService datesService, IAppSettingsService settingsSvc) { _datesService = datesService; _settingsSvc = settingsSvc; }
public DatesController(IDatesService datesService) { _datesService = datesService; }