public IActionResult Cursada(string carrera, string comision) { var cursada = _cursadaService.GetAll().Where(x => x.Carrera == carrera && x.Comision == comision); return(PartialView("_IndexPartial", cursada)); }
public IActionResult Index() { IEnumerable <Cursada> cursadas = _cursadaService.GetAll(); return(View(cursadas)); }
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)); }