Exemplo n.º 1
0
 public async Task <IQuestionRank> GetAsync(string clientId)
 {
     return(await _tableStorage.GetTopRecordAsync(QuestionRankEntity.GeneratePk(clientId)));
 }
Exemplo n.º 2
0
 public async Task <IReadOnlyList <IQuestionRank> > GetAllAsync(string clientId)
 {
     return((await _tableStorage.GetDataAsync(QuestionRankEntity.GeneratePk(clientId))).ToList());
 }
Exemplo n.º 3
0
 public Task AddAsync(string clientId, double rank, string changer, string comment)
 {
     return(_tableStorage.TryInsertAsync(QuestionRankEntity.Create(clientId, rank, changer, comment)));
 }