コード例 #1
0
        public async Task <IActionResult> Delete(int id)
        {
            await _consultaService.RemoveAsync(id);

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