public void SetAccountProfile(IAccountProfile accountprofile) { this.accountprofile = accountprofile; }
//initialization public User(ICookbook cookbook, IAccountProfile accountprofile) { this.cookbook = cookbook; this.accountprofile = accountprofile; }