Beispiel #1
0
        public async Task <ActionResult> Delete(int id, BookModel model)
        {
            try
            {
                await apiModelBook.DeleteBook("api/APIDbBook/", id.ToString(), model);

                return(RedirectToAction("Index"));
            }
            catch
            {
                return(View());
            }
        }