public void AgregarItemADetalle() { DetalleFactura.Add(new DetalleFacturaViewModel { Sku = CabeceraProductoSku, Precio = CabeceraProductoPrecio, Cantidad = CabeceraProductoCantidad, }); Refrescar(); }
public bool ExisteEnDetalle(string sku) { return(DetalleFactura.Any(x => x.Sku == sku)); }