public async Task <ActionResult> Edit(int id)
        {
            UserAccountsEditCommand requestedEdit = new UserAccountsEditCommand {
                Id = id
            };
            var response = await _mediator.Send(requestedEdit);

            return(View(response));
        }
        public async Task <ActionResult> Edit(UserAccountsEditCommand requestedAccount)
        {
            UserAccountsEditUpdateCommand accountToUpdate = new UserAccountsEditUpdateCommand
            {
                AccountsUsername   = requestedAccount.AccountsUsername,
                AccountPassword    = requestedAccount.AccountPassword,
                AccountWebsiteLink = requestedAccount.AccountWebsiteLink,
                Id = requestedAccount.Id
            };
            var response = await _mediator.Send(accountToUpdate);

            return(RedirectToAction("Accounts", "Manage"));
        }