public JsonResult Excluir(int cursoID) { if (cursoRepositorio.Excluir(cursoID)) { return(Json(new { Status = true }, JsonRequestBehavior.AllowGet)); } return(Json(new { Status = true }, JsonRequestBehavior.AllowGet)); }