Exemplo n.º 1
0
        public async Task <IActionResult> OnPostDelete()
        {
            await _post.DeleleAsync(ID.Value);

            return(RedirectToPage("/Index"));
        }