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