public IActionResult ChangeBook([FromBody] webapi.business.ViewModel.Book newBook) { var book = this.domain.ChangeBook(newBook); return(Ok(book)); }
public IActionResult AddBookInCategory([FromBody] webapi.business.ViewModel.Book newBook) { var book = this.domain.AddBookInCategory(newBook); return(Ok(book)); }