public ByARpt UpdateModFecha(vCONTRATOS Reg) { Manager = new ModFechaBLL(); //YYMMDD Reg.FEC_SUS_CON = new DateTime(Reg.FEC_SUS_CON.Year, Reg.FEC_SUS_CON.Month, Reg.FEC_SUS_CON.Day); return Manager.UpdateModFecha(Reg); }
public ByARpt UpdateModFecha(vCONTRATOS Reg) { CONTRATOS r = new CONTRATOS(); Mapper.Map(Reg, r); cmdUpdateModFecha o = new cmdUpdateModFecha { reg = r }; return o.Enviar(); }
public ByARpt UpdateConf(vCONTRATOS Reg) { CONTRATOS r = new CONTRATOS(); Mapper.Map(Reg, r); cmdUpdateConf o = new cmdUpdateConf { reg = r }; return o.Enviar(); }
public vCONTRATOS GetContratos(string cod_con) { MapearContratos(); vCONTRATOS Reg = new vCONTRATOS(); CONTRATOS cto = null; using (ctx = new Entities()) { cto = ctx.CONTRATOS.Where(t => t.COD_CON == cod_con).FirstOrDefault(); if (cto != null) { Mapper.Map(cto, Reg); } return Reg; } }
public ByARpt UpdateConf_C(vCONTRATOS Reg) { return Cmanager.UpdateConf(Reg); }
public ByARpt UpdateExo(vCONTRATOS Reg) { return Cmanager.Update(Reg); }
public ByARpt UpdateModFecha(vCONTRATOS Reg) { return Cmanager.UpdateModFecha(Reg); }
public ByARpt UpdateExo(vCONTRATOS Reg) { manager = new LegalizacionBLL(); return manager.UpdateExo(Reg); }
public ByARpt Insert(vCONTRATOS Reg) { cmdInsert o = new cmdInsert(); o.oDto = Reg; return o.Enviar(); }
public ByARpt Update(vCONTRATOS Reg) { cmdUpdate o = new cmdUpdate(); o.oDto = Reg; return o.Enviar(); }
public ByARpt Update(vCONTRATOS Reg) { Reg.USUARIO = Usuario.UserName; return o.Update(Reg); }
public ByARpt InsertEst(vCONTRATOS Reg) { Reg.USUARIO = Usuario.UserName; return o.InsertEst(Reg); }