public Food_FoodFoodTypeMappingDTO(FoodFoodTypeMapping FoodFoodTypeMapping) { this.Id = FoodFoodTypeMapping.Id; this.FoodId = FoodFoodTypeMapping.FoodId; this.FoodTypeId = FoodFoodTypeMapping.FoodTypeId; this.Food = FoodFoodTypeMapping.Food == null ? null : new Food_FoodDTO(FoodFoodTypeMapping.Food); this.FoodType = FoodFoodTypeMapping.FoodType == null ? null : new Food_FoodTypeDTO(FoodFoodTypeMapping.FoodType); this.Errors = FoodFoodTypeMapping.Errors; }
public OrderContent_FoodFoodTypeMappingDTO(FoodFoodTypeMapping FoodFoodTypeMapping) { this.Id = FoodFoodTypeMapping.Id; this.FoodId = FoodFoodTypeMapping.FoodId; this.FoodTypeId = FoodFoodTypeMapping.FoodTypeId; this.Errors = FoodFoodTypeMapping.Errors; }