public async Task <IActionResult> Delete([FromRoute] string id) { manager.Delete(id); return(Ok()); }
public ActionResult DeleteConfirmed(int id) { _genreManager.Delete(id); return(RedirectToAction("Index")); }
public async Task <IActionResult> Delete([FromRoute] string id) { manager.Delete(id); return(Ok()); }
public ActionResult DeleteConfirmed(int id) { _genreManager.Delete(id); return(RedirectToAction("Index")); }