public IngredientsRowWork(StockIngredientDTO ingredient)
 {
     Ingredient = new OrderIngredientDTO
     {
         Quantity = ingredient.NormalWeight,
         Price = ingredient.PricePerUnit,
         NormalWeight = ingredient.NormalWeight,
         Name = ingredient.Name,
         IngredientID = ingredient.IngredientID,
         ExtraWeight = ingredient.ExtraWeight
     };
     Included = false;
 }
 public IngredientsRowWork(OrderIngredientDTO ingredient, bool included)
     : this(ingredient)
 {
     Included = included;
 }
 public IngredientsRowWork(OrderIngredientDTO ingredient)
     : this()
 {
     Ingredient = ingredient;
     Included = false;
 }
Exemplo n.º 4
0
 public IngredientsRow(OrderIngredientDTO ingredient, int currentQuantity, SizeDTO size)
     : this(ingredient, currentQuantity)
 {
     this.CurrentSize = size;
 }
Exemplo n.º 5
0
 public IngredientsRow(OrderIngredientDTO ingredient, int currentQuantity)
     : this(ingredient)
 {
     CurrentQuantity = currentQuantity;
 }
Exemplo n.º 6
0
 public IngredientsRow(OrderIngredientDTO ingredient)
     : this()
 {
     Ingredient = ingredient;
     CurrentQuantity = 0;
 }