/// <summary>
        /// Sets up the foodplan model with constructorinjection of all its properties
        /// </summary>
        /// <param name="foodplanCollector"></param>
        /// <param name="shoppingListModel"></param>
        /// <param name="recipeListModel"></param>
        /// <param name="loginModel"></param>
        /// <param name="msgBoxService"></param>
        public FoodplanModel(IFoodplanCollector foodplanCollector, IShoppingListModel shoppingListModel,
		IRecipeListModel recipeListModel, ILoginModel loginModel, IMessageBoxService msgBoxService)
        {
            _foodplanCollector = foodplanCollector;
            _shoppingListModel = shoppingListModel;
            _recipeListModel = recipeListModel;
			_loginModel = loginModel;
            _msgBoxService = msgBoxService;
            _foodPlan = new Foodplan();
		}
 /// <summary>
 /// Sets up the foodplan model with constructorinjection of all its properties
 /// </summary>
 /// <param name="foodplanCollector"></param>
 /// <param name="shoppingListModel"></param>
 /// <param name="recipeListModel"></param>
 /// <param name="loginModel"></param>
 /// <param name="msgBoxService"></param>
 public FoodplanModel(IFoodplanCollector foodplanCollector, IShoppingListModel shoppingListModel,
                      IRecipeListModel recipeListModel, ILoginModel loginModel, IMessageBoxService msgBoxService)
 {
     _foodplanCollector = foodplanCollector;
     _shoppingListModel = shoppingListModel;
     _recipeListModel   = recipeListModel;
     _loginModel        = loginModel;
     _msgBoxService     = msgBoxService;
     _foodPlan          = new Foodplan();
 }
        public void SetupForTests()
        {
            _testCollector = new Collector(new DatabaseContext());

            _testItem = new Item() {ItemId = 100, Name = "TestItem", IsBought = true};
            _testIngredient = new Ingredient() { ItemId = 101, Name = "TestIngredient", Amount = 10 };
            _testRecipe = new Recipe() {RecipeId = 100,RecipeName = "TestOpskrift", Ingredients = new List<Ingredient>() {_testIngredient, new Ingredient()} };
            _testFoodplan = new Foodplan() { FoodPlanId = 100, CreatedDate = DateTime.Now, RecipeList = new List<Recipe>() {_testRecipe} };
            _testShoppinglist = new Shoppinglist() {ShoppingListId = 100, ShoppingItems = new List<Item>() {_testItem} };
            _tesUser = new User() {UserId = 100,UserName = "******",UserPassword = "******",UserFoodplan = _testFoodplan, UserShoppinglist = _testShoppinglist};

        }
 /// <summary>
 /// This this not implemented and therefore will throw an exception
 /// </summary>
 /// <param name="toRemove"></param>
 public void Remove(Foodplan toRemove)
 {
     throw new NotImplementedException();
 }
 /// <summary>
 /// This this not implemented and therefore will throw an exception
 /// </summary>
 /// <param name="toAdd"></param>
 /// <returns></returns>
 public Task<int> Add(Foodplan toAdd)
 {
     throw new NotImplementedException();
 }