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

            Ckeck = await _context.Ckeck.FirstOrDefaultAsync(m => m.id == id);

            if (Ckeck == null)
            {
                return(NotFound());
            }
            return(Page());
        }
        public async Task <IActionResult> OnPostAsync(string id)
        {
            if (id == null)
            {
                return(NotFound());
            }

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

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

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