Exemplo n.º 1
0
 public FrmNuevaPromocion()
 {
     InitializeComponent();
     Model            = ServiceLocator.Instance.Resolve <PromocionViewModel>();
     promocion        = new PromocionGeneral();
     this.EsModificar = false;
     this.IniciarBinding();
 }
Exemplo n.º 2
0
 public FrmNuevaPromocion(PromocionGeneral item)
 {
     InitializeComponent();
     Model          = ServiceLocator.Instance.Resolve <PromocionViewModel>();
     this.promocion = item;
     this.IniciarBinding();
     this.EsModificar = true;
     Model.State      = EntityState.Update;
     LlenarFormulario();
 }
Exemplo n.º 3
0
 public Task <PromocionGeneral> UpdateAsync(PromocionGeneral element, object IdUsuario)
 {
     throw new NotImplementedException();
 }