コード例 #1
0
        public async Task <IActionResult> Deletar(int?ID)
        {
            if (ID == null)
            {
                return(NotFound());
            }
            var httResponse = await _receitaService.DeletarItem(ID);

            return(Redirect("/receita/ListarReceita"));
        }