Пример #1
0
 public FrmNuevaPromocion()
 {
     InitializeComponent();
     Model            = ServiceLocator.Instance.Resolve <PromocionViewModel>();
     promocion        = new PromocionGeneral();
     this.EsModificar = false;
     this.IniciarBinding();
 }
Пример #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();
 }
Пример #3
0
 public Task <PromocionGeneral> UpdateAsync(PromocionGeneral element, object IdUsuario)
 {
     throw new NotImplementedException();
 }