Example #1
0
 public Researcher GetById(string id)
 {
     return(dbQueryService.GetSingle(
                "select * from researcher " +
                "where id = @id " +
                "limit 1",
                MapFromDbReader,
                new()
     {
Example #2
0
 public Publication GetById(string doi)
 {
     return(dbQueryService.GetSingle(
                "select doi, title, authors, year, type, cite_as, available from publication " +
                "where doi = @doi " +
                "limit 1",
                MapFromDbReader,
                new()
     {