public List <BLDish> GetSelectedDishes(string Codes)
        {
            String[]      separator         = { "," };
            BLClient      Cl                = new BLClient();
            List <BLDish> allDishes         = Cl.DishesList();
            List <BLDish> allSelectedDishes = new List <BLDish>();

            string[] codesArray = Codes.Split(separator, StringSplitOptions.RemoveEmptyEntries);

            for (int i = 0; i < codesArray.Length; i++)
            {
                foreach (BLDish dish in allDishes)
                {
                    if (dish.Code == Int32.Parse(codesArray[i]))
                    {
                        allSelectedDishes.Add(dish);
                    }
                }
            }

            return(allSelectedDishes);
        }
        public List <BLDish> DishesList()
        {
            BLClient Cl = new BLClient();

            return(Cl.DishesList());
        }