public async Task <IActionResult> OnGetAsync(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            CatZona = await _context.CatZona.SingleOrDefaultAsync(m => m.Id == id);

            if (CatZona == null)
            {
                return(NotFound());
            }
            return(Page());
        }
        public async Task <IActionResult> OnPostAsync(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            CatZona = await _context.CatZona.FindAsync(id);

            if (CatZona != null)
            {
                _context.CatZona.Remove(CatZona);
                await _context.SaveChangesAsync();
            }

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