.
This commit is contained in:
parent
cbfba6b578
commit
942a7d321b
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue