Пример #1
0
        public int AddMenu(string mn, int p, int q, string t)
        {
            Menus m = new Menus()
            {
                MenuName = mn, Price = p, Quantity = q, Type = t
            };

            return(mda.AddMenu(m));
        }
 public bool AddMenu(Menu menu)
 {
     return(menuDataAccess.AddMenu(menu));
 }