public string Delete(int id) { var service = new SerieService(DataContext); service.Delete(id); return("El recurso se elimino correctamente"); }
public ActionResult Delete(int id) { var result = serieService.Delete(id); return(Json(result, JsonRequestBehavior.AllowGet)); }