public async Task UpdateAsync( Author author )
 {
     await DocumentStore.UpdateAsync( author );
 }
Beispiel #2
0
 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 );
 }