Exemple #1
0
 public ByARpt Update(entidadDto Reg)
 {
     ByARpt Resp = new ByARpt();
     cmdUpdate o = new cmdUpdate();
     o.oDto = Reg;
     o.id = Reg.id;
     Resp = o.Enviar();
     return Resp;
 }
Exemple #2
0
 public entidadDto Get()
 {
     using(ctx = new ieEntities())
     {
         entidadDto r = new entidadDto();
         entidad o = ctx.entidad.FirstOrDefault();
         o.logo = null;
         Mapper.Map(o,r);
         return r;
     }
 }
 public ByARpt Put(entidadDto Reg)
 {
     mEntidad o = new mEntidad();
     return o.Update(Reg);
 }