Exemplo n.º 1
0
        public async Task <ActionResult> RemoveABook(int id)
        {
            await Mapper.Remove(id);

            return(NoContent());
        }
Exemplo n.º 2
0
        public async Task <IActionResult> RemoveBookFromInventory(int id)
        {
            await BooksMapper.Remove(id);

            return(NoContent());
        }