Beispiel #1
0
        public IActionResult Add(MenuViewModel model)
        {
            var menuContent = _mapper.Map <Menu>(model);

            _menuService.AddNewMenuContent(menuContent);
            return(Ok());
        }