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