Example #1
0
        public IActionResult Cursada(string carrera, string comision)
        {
            var cursada = _cursadaService.GetAll().Where(x => x.Carrera == carrera && x.Comision == comision);

            return(PartialView("_IndexPartial", cursada));
        }
Example #2
0
        public IActionResult Index()
        {
            IEnumerable <Cursada> cursadas = _cursadaService.GetAll();

            return(View(cursadas));
        }
Example #3
0
        public IActionResult Cursada(string carrera, string comision)
        {
            var cursadas = _cursadaService.GetAll().Where(x => x.Carrera.ToUpper() == carrera.ToUpper() & x.Comision.ToUpper() == comision.ToUpper());

            return(PartialView("_IndexPartial", cursadas));
        }