Exemplo n.º 1
0
 public async Task <T> GetBookmark <T>(string pk) where T : ISQLiteStorable, new()
 {
     return(await _sqliteService.SelectAsync <T>(pk));
 }
Exemplo n.º 2
0
 public async Task <NotificationInfo> GetNotification(int id, SportsType sportsType, NotificationType notificationType)
 {
     return(await _sqliteService.SelectAsync <NotificationInfo>(
                NotificationInfo.BuildPrimaryKey(id, sportsType, notificationType)));
 }