Exemple #1
0
 public async Task <IReadOnlyList <IQuestionRank> > GetAllAsync(string clientId)
 {
     return((await _tableStorage.GetDataAsync(QuestionRankEntity.GeneratePk(clientId))).ToList());
 }
Exemple #2
0
 public async Task <IQuestionRank> GetAsync(string clientId)
 {
     return(await _tableStorage.GetTopRecordAsync(QuestionRankEntity.GeneratePk(clientId)));
 }