Exemplo n.º 1
0
        public async Task <IActionResult> Delete(int id)
        {
            var result = await _menuAppService.DeleteByIdAsync(id, CurrentUser.UserId);

            return(Json(result));
        }