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