Example #1
0
        public void DeleteCookbook(ICookbook cookbook)
        {
            //clears the cookbook
            List <IRecipe> temp = new List <IRecipe>();

            this.cookbook = new Cookbook.Cookbook(1, temp, "");
        }
Example #2
0
 public void SetCookbook(ICookbook cookbook)
 {
     this.cookbook = cookbook;
 }
Example #3
0
 //initialization
 public User(ICookbook cookbook, IAccountProfile accountprofile)
 {
     this.cookbook       = cookbook;
     this.accountprofile = accountprofile;
 }