public async Task <List <IReportChannel> > GetAllChannelsAsync() { var data = await _storage.GetDataAsync(ReportChannelEntity.GeneratePartitionKey()); return(data.Cast <IReportChannel>().ToList()); }
public Task RemoveChannelAsync(string channelId) { return(_storage.DeleteIfExistAsync(ReportChannelEntity.GeneratePartitionKey(), ReportChannelEntity.GenerateRowKey(channelId))); }