Esempio n. 1
0
 public ActivitiesRepository CreateActivitiesRepository()
 {
     DbContext databaseContext = new AppUserDatabaseContext();
     IGenericQueryFactory genericQueryFactory = new GenericQueryFactory();
     IActivityQueryFactory activityQueryFactory = new ActivityQueryFactory();
     return new ActivitiesRepository(databaseContext, genericQueryFactory, activityQueryFactory);
 }
Esempio n. 2
0
 public NotesRepository CreateNotesRepository()
 {
     DbContext databaseContext = new AppUserDatabaseContext();
     IGenericQueryFactory genericQueryFactory = new GenericQueryFactory();
     return new NotesRepository(databaseContext, genericQueryFactory);
 }