示例#1
0
        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);
        }
示例#2
0
 //Seleccion
 public List<plantillaeva> ObtenerPlantilla()
 {
     Datoplantillaeva DatPlant = new Datoplantillaeva();
     return DatPlant.select_All_Plantilla();
 }