public plantillaeva ObtenerPlantillaByID(int evaidplantilla) { Datoplantillaeva DatPlant = new Datoplantillaeva(); plantillaeva plantilla = new plantillaeva(); plantilla = (from l in DatPlant.select_All_Plantilla() where l.evaidplantilla == evaidplantilla select l ).FirstOrDefault(); return plantilla; // return DatAut.select_AutosbyId(IDAuto); }
//Seleccion public List<plantillaeva> ObtenerPlantilla() { Datoplantillaeva DatPlant = new Datoplantillaeva(); return DatPlant.select_All_Plantilla(); }