public async Task <IActionResult> ChangePassword(PeopleChangePasswordGetByIdCommand command)
        {
            if (ModelState.IsValid)
            {
                TempData["ChangePassword"] = await Mediator.Send(command);
            }

            return(RedirectToAction("ChangePassword", new { command.Id }));
        }
        public async Task <IActionResult> ChangePassword(int id)
        {
            TempData.TryGetValue("ChangePassword", out object value);
            ViewData["ChangePassword"] = value;

            People people = await Mediator.Send(new PeopleGetByIdCommand(id));

            PeopleChangePasswordGetByIdCommand command =
                new PeopleChangePasswordGetByIdCommand()
            {
                Id         = people.Id,
                Name       = people.Name,
                Password   = string.Empty,
                NewPassord = string.Empty
            };

            return(View(command));
        }