Ejemplo n.º 1
0
        public async Task <IActionResult> Delete([FromRoute] string id)
        {
            manager.Delete(id);

            return(Ok());
        }
        public ActionResult DeleteConfirmed(int id)
        {
            _genreManager.Delete(id);

            return(RedirectToAction("Index"));
        }