Example #1
0
 public List <Position> GetAll()
 {
     return(dbQueryService.GetList(
                "select * from position",
                MapFromDbReader
                ));
 }
Example #2
0
 private List <SupervisionsRow> GetSupervisionsRows(Researcher researcher)
 {
     return(dbQueryService.GetList(
                $"SELECT family_name, given_name FROM `researcher` WHERE supervisor_id = {researcher.ID}",
                MapFromDbReader
                ));
 }