public IHttpActionResult Get(int id)
 {
     try
     {
         List <Matricula> todos = MatriculaBLL.List(id);
         return(Content(HttpStatusCode.OK, todos));
     }
     catch (Exception ex) {
         return(Content(HttpStatusCode.BadRequest, ex));
     }
 }
 // GET: Matriculas
 public ActionResult Index()
 {
     ViewBag.Title = "Listado";
     return(View(MatriculaBLL.List()));
 }
 // GET: Matriculas
 public ActionResult Index()
 {
     return(View(MatriculaBLL.List()));
 }