public CoursesInfoProvider(IGetAllRepository <Course> coursesRepository, IGetAllRepository <Language> languagesRepository, IGetAllRepository <LearningSystem> learningSystemsRepository, IGetAllRepository <Level> levelsRepository) { this.coursesRepository = coursesRepository; this.languagesRepository = languagesRepository; this.learningSystemsRepository = learningSystemsRepository; this.levelsRepository = levelsRepository; }
public GamePointerService() { var repo = new WatchedExecutionRepository(new UwpDbPath()); _repo = repo; _addRepo = repo; _updateRepo = repo; _deleteRepo = repo; _watcher.ApplicationFocusChanged += ApplicationFocusWatcher_ApplicationFocusChanged; _watchedExecutions = new ObservableCollection <WatchedExecution>(_repo.GetAll()); }
public PersonAdditionalInfoProvider( IGetAllRepository <AnswerType> answerTypeRepository, IGetAllRepository <Ethnicity> ethnicitiesRepository, IGetAllRepository <Orientation> orientationRepository, IGetAllRepository <Unit> unitRepository, ICountriesRepository countryRepository) { this.answerTypeRepository = answerTypeRepository; this.ethnicitiesRepository = ethnicitiesRepository; this.orientationRepository = orientationRepository; this.unitRepository = unitRepository; this.countryRepository = countryRepository; }
public AttendeeNHController(IGetAllRepository <Attendee> repository) { this.repository = repository; }
public NHApiController(IGetAllRepository <T> repository) { this.repository = repository; }
public GetAllController(IGetAllRepository getAllRepository) { this.getAllRepository = getAllRepository; }
public UsersNHController(IGetAllRepository <User> repository) { this.repository = repository; }
public EventNHController(IGetAllRepository <Event> repository) : base(repository) { }
public AcademicProgramNHController(IGetAllRepository <AcademicProgram> repository) : base(repository) { }
public VolunteerNHController(IGetAllRepository <Volunteer> repository) : base(repository) { }
public DepartmentNHController(IGetAllRepository <Department> repository) : base(repository) { }
public AddressNHController(IGetAllRepository <Address> repository) : base(repository) { }
public SchoolTypeNHController(IGetAllRepository <SchoolType> repository) : base(repository) { }
private bool SaveToFile <T>(IGetAllRepository <T> entities) where T : IEntity { var data = JsonConvert.SerializeObject(entities.GetAll()); return(_dataFileProvider.UpdateFileText(typeof(T).Name, data)); }
public CityTypeNHController(IGetAllRepository <CityType> repository) : base(repository) { }