using ConsoleApp.Menu.Core; using Model.Managers; using Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp.Menu { internal class ProfileMenu : Menu { public ProfileMenu(MasterManager masterManager) : base("Profile") { _allSelectors.Add(new Selector( new SearcherRecipe(new RecipeCollection("My recipes", masterManager.DataMgr.GetRecipes().Where(r => r.Author == MasterManager.CurrentConnectedUser).ToArray())), "My recipes")); } } }