//GET - EDIT
        public IActionResult Edit(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }
            var menuItemDto       = _menuItemManager.GetMenuItem(id);
            var subCategoryDto    = _subCategoryManager.GetSubCategories(menuItemDto.CategoryId);
            var categoriesListDto = _categoryManager.GetAllCategories();

            menuItemAndSubCListAndCListVm.MenuItem          = _viewModelMapper.Map(menuItemDto);
            menuItemAndSubCListAndCListVm.SubCategoriesList = _viewModelMapper.Map(subCategoryDto);
            menuItemAndSubCListAndCListVm.CategoriesList    = _viewModelMapper.Map(categoriesListDto);

            return(View(menuItemAndSubCListAndCListVm));
        }
        public ActionResult <MenuItem> GetMenuItem(int id)
        {
            var menuItem = _menuItemManager.GetMenuItem(id);

            if (menuItem == null)
            {
                return(NotFound());
            }

            return(menuItem);
        }