public async Task <IActionResult> CreateAccountFormAction(IndexModel model)
        {
            await _accDatabaseManager.CreateAccountAsync(model.AccountName, model.Currency, User.Identity.Name);

            await _logManager.WriteAsync(User.Identity.Name, $"User '{User.Identity.Name}' created '{model.AccountName}' account with currency '{model.Currency}'.");

            if (model == null)
            {
                model = new IndexModel();
            }

            model.ActivityMessage = $"'{model.AccountName}' account created.";
            model.Accounts        = await _accDatabaseManager.GetAccountsAsync(User.Identity.Name);

            return(View(nameof(HomeController.Index), model));
        }