public Book Insert(InsertBookCommand command) { return(_repository.Insert(new Book(command.Title, command.Synopsis, command.AuthorId))); }
public Book Post(InsertBookCommand command) { return(_handler.Insert(command)); }
public Book Insert(InsertBookCommand command) { return(_repository.Insert(new Book(command.Title, command.Synopsis, command.AuthorId))); }
public Book Post(InsertBookCommand command) { return(_handler.Insert(command)); }