public FlatFileStudentRepository(string filepath, HighSchoolRepository highSchoolRepository, FlatFileStudentSerializer serailzer) { _filepath = filepath; _highSchoolRepository = highSchoolRepository; _serializer = serailzer; constructStudentEntities(); }
public PostgresStudentRepository(DbConnection database, HighSchoolRepository highSchoolRepository) { _database = database; _highSchoolRepository = highSchoolRepository; }
public static void GetPersonById(long id) { HighSchoolRepository repository = new HighSchoolRepository(); var data = repository.GetPersonById(id); }
public static void GetAllPerson() { HighSchoolRepository repository = new HighSchoolRepository(); var data = repository.GetAllPerson(); }