public async Task <IEnumerable <IBook> > GetList() { return(await _bookTablestorage.GetDataAsync(BookEntity.GeneratePartitionKey())); }
public async Task DeleteById(string id) { await _bookTablestorage.DeleteAsync(BookEntity.GeneratePartitionKey(), id); }
public async Task <Book> GetByIdAsync(string id) { var src = await _bookTablestorage.GetDataAsync(BookEntity.GeneratePartitionKey(), id); return(Book.Create(src)); }