Esempio n. 1
0
        public ActionResult AddSpecialty(string name, string description, string image)
        {
            Specialty specialty = new Specialty
            {
                Name        = name,
                Description = description,
                IsActive    = false,
                Image       = image
            };

            MenuService menuService = new MenuService();

            menuService.AddSpecialty(specialty);

            return(RedirectToAction("ListDishes"));
        }