public IActionResult OnGet(int id)
        {
            var sleeping = sleepingsService.GetSleeping(id);

            EditSleeping = sleeping;

            return(Page());
        }
        public IActionResult GetSleeping([FromRoute] int id)
        {
            var result = sleepingsService.GetSleeping(id);

            if (result == null)
            {
                return(NotFound());
            }

            return(Ok(result));
        }