public ActionResult Edit(AdminAccountEditForm adminAccountEditForm, bool saveAndExit = false)
        {
            if (ModelState.IsValid == false)
                return View("Edit", adminAccountEditForm);

            adminAccountEditFormStore.SaveForm(adminAccountEditForm);

            if (saveAndExit)
                return RedirectToAction("Index", "AdminAccount");
            return View("Edit", adminAccountEditForm);
        }
        public void SaveForm(AdminAccountEditForm adminAccountEditForm)
        {
            if (databaseRetriever.GetTheDatabase().AdminAccounts.FindAllById(new Guid(adminAccountEditForm.Id)).Any())
                databaseRetriever.GetTheDatabase()
                    .AdminAccounts
                    .UpdateById(Id: new Guid(adminAccountEditForm.Id),
                                FirstName: adminAccountEditForm.FirstName,
                                LastName: adminAccountEditForm.LastName,
                                Username: adminAccountEditForm.Username);

            else
                databaseRetriever.GetTheDatabase().AdminAccounts
                    .Insert(Id: new Guid(adminAccountEditForm.Id),
                            FirstName: adminAccountEditForm.FirstName,
                            LastName: adminAccountEditForm.LastName,
                            Username: adminAccountEditForm.Username);

            if (string.IsNullOrEmpty(adminAccountEditForm.Password) == false)
                databaseRetriever.GetTheDatabase()
                    .AdminAccounts
                    .UpdateById(Id: new Guid(adminAccountEditForm.Id),
                                Password: passwordHasher.GetHash(adminAccountEditForm.Password));
        }