public Recipe(Guid id, String title, String description, String imageurl) { _ingredients = new IngredientUsageCollection(); Id = id; Title = title; Description = description; ImageUrl = imageurl; }
public Recipe(Guid id, string title, string description, string imageUrl) { this.ingredients = new IngredientUsageCollection(); this.Id = id; this.Title = title; this.Description = description; this.ImageUrl = imageUrl; this.ingredients = new IngredientUsageCollection(); this.PreparationTime = 0; this.CookingTime = 0; this.AverageRating = 0; this.ServingSize = 4; this.Comments = 0; this.InMenus = 0; this.PublicEdit = false; this.AllowDelete = false; this.UserRating = Rating.None; this.Tags = null; }
IngredientSection(string name) { SectionName = name; Ingredients = new IngredientUsageCollection(); }
private IngredientSection(string name) { SectionName = name; Ingredients = new IngredientUsageCollection(); }