public ByARpt Update(vImp_Contratos Reg) { IMP_CONTRATOS r = new IMP_CONTRATOS(); Mapper.Map(Reg, r); cmdUpdate o = new cmdUpdate { reg = r }; return o.Enviar(); }
public ByARpt Insert(vImp_Contratos Reg) { Reg.FEC_REG = DateTime.Now; IMP_CONTRATOS r = new IMP_CONTRATOS(); Mapper.Map(Reg, r); cmdInsert o = new cmdInsert { reg = r }; return o.Enviar(); }