Beispiel #1
0
 public vDEPENDENCIA Get(string ID)
 {
     using (ctx = new Entities())
     {
         vDEPENDENCIA r = new vDEPENDENCIA();
         DEPENDENCIA b = ctx.DEPENDENCIA.Where(t => t.COD_DEP == ID).FirstOrDefault();
         Mapper.Map(b, r);
         return r;
     }
 }
Beispiel #2
0
 public ByARpt Update(vDEPENDENCIA Reg)
 {
     cmdUpdate o = new cmdUpdate();
     o.oDto = Reg;
     return o.Enviar();
 }
Beispiel #3
0
 public ByARpt Insert(vDEPENDENCIA Reg)
 {
     cmdInsert o = new cmdInsert();
     o.oDto = Reg;
     return o.Enviar();
 }
 public ByARpt Update(vDEPENDENCIA Reg)
 {
     DependenciasBLL o = new DependenciasBLL();
     return o.Update(Reg);
 }
 public ByARpt Insert(vDEPENDENCIA Reg)
 {
     DependenciasBLL o = new DependenciasBLL();
     return o.Insert(Reg);
 }