コード例 #1
0
        public async Task <List <IReportChannel> > GetAllChannelsAsync()
        {
            var data = await _storage.GetDataAsync(ReportChannelEntity.GeneratePartitionKey());

            return(data.Cast <IReportChannel>().ToList());
        }
コード例 #2
0
 public Task RemoveChannelAsync(string channelId)
 {
     return(_storage.DeleteIfExistAsync(ReportChannelEntity.GeneratePartitionKey(), ReportChannelEntity.GenerateRowKey(channelId)));
 }