public async Task UpdateAsync( Author author ) { await DocumentStore.UpdateAsync( author ); }
public void SetAuthor( Author author ) { if( author == null ) throw new ArgumentNullException( "author cannot be null" ); AuthorId = author.Id; }
public async Task CreateAsync( Author author ) { await DocumentStore.CreateAsync( author ); }