Example #1
0
 public static Aseguradora GetAseguradora(int id, RdcModel ctx)
 {
     return (from a in ctx.Aseguradoras
             where a.Id_aseguradora == id
             select a).FirstOrDefault<Aseguradora>();
 }
Example #2
0
 public static Acto_medico GetActo_Medico(int id, RdcModel ctx)
 {
     return (from am in ctx.Acto_medicos
             where am.Id_acto_medico == id
             select am).FirstOrDefault<Acto_medico>();
 }