コード例 #1
0
        public IActionResult ChangeUsername(int id)
        {
            ViewBag.header = "Enter your new username";
            var user      = userService.GetCurrentUser(id);
            var converted = ConvertTo.ChangeUsernameModel(user);

            return(View(converted));
        }