Пример #1
0
        public string Delete(int id)
        {
            var service = new SerieService(DataContext);

            service.Delete(id);

            return("El recurso se elimino correctamente");
        }
Пример #2
0
        public ActionResult Delete(int id)
        {
            var result = serieService.Delete(id);

            return(Json(result, JsonRequestBehavior.AllowGet));
        }