Beispiel #1
0
 public async Task <IEnumerable <IPublishingHouse> > GetList()
 {
     return(await _publishingHouseTablestorage.GetDataAsync(PublishingHouseEntity.GeneratePartitionKey()));
 }
Beispiel #2
0
 public async Task DeleteById(string id)
 {
     await _publishingHouseTablestorage.DeleteAsync(PublishingHouseEntity.GeneratePartitionKey(), id);
 }
Beispiel #3
0
        public async Task <PublishingHouse> GetByIdAsync(string id)
        {
            var src = await _publishingHouseTablestorage.GetDataAsync(PublishingHouseEntity.GeneratePartitionKey(), id);

            return(PublishingHouse.Create(src));
        }