Esempio n. 1
0
        public IActionResult AdminEditItem(Guid id, Guid itemId)
        {
            var item = _menuFacade.GetItemForAdmin(SiteId, id, itemId);

            return(Ok(item));
        }
Esempio n. 2
0
        public async Task <IActionResult> AdminEditItem(Guid id, Guid itemId)
        {
            var item = await Task.Run(() => _menuFacade.GetItemForAdmin(SiteId, id, itemId));

            return(Ok(item));
        }