Exemplo n.º 1
0
        public async Task <IActionResult> OnGet(long id)
        {
            var x = await ProjectsService.FindAsync(id);

            if (x != null)
            {
                return(Page());
            }

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