예제 #1
0
 public async ValueTask<Result<LotteryEntry>> GetEntriesForUserAsync(long userId)
 {
     var entries = await entrySet.GetAsync(userId.ToString());
     if(entries == null)
     {
         return new EntityNullException<LotteryEntry>();
     }
     return entries;
 }