This commit is contained in:
Naumann 2020-06-04 07:39:45 +02:00
parent cbfba6b578
commit 942a7d321b

View file

@ -70,6 +70,7 @@ namespace BuecherwurmAPI.Controllers
// DELETE katalog/{id} // DELETE katalog/{id}
[HttpDelete("{id}")] [HttpDelete("{id}")]
public ActionResult<Book> DeleteBook (long id) public ActionResult<Book> DeleteBook (long id)
{ {
var book = _repository.GetBookById(id); var book = _repository.GetBookById(id);