コード例 #1
0
        public async Task <IActionResult> Restore(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            await _reportServices.RestoreReport(id.Value);

            return(RedirectToAction(nameof(Index)));
        }