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

            UserModel = await _userAppService.GetUserForEditAsync(id.Value);

            if (UserModel == null)
            {
                return(NotFound());
            }
            return(Page());
        }