public IngredienteLancheMdl(IngredienteMdl Ingrediente) { this.Ingrediente = Ingrediente; this.Nome = Ingrediente.Nome; this.Valor = Ingrediente.Valor; this.IdIngrediente = Ingrediente.Id; }
public IngredienteLanchePedidoMdl(IngredienteMdl Ingrediente, int quantidade) { this.Ingrediente = Ingrediente; this.Nome = Ingrediente.Nome; this.Valor = Ingrediente.Valor; this.IdIngrediente = Ingrediente.Id; this.Quantidade = quantidade; }