public static BankAccountHistoryEdit GetModelView(BankAccountHistory bankAccountHistory)
        {
            if (bankAccountHistory == null)
                return null;

            var bankAccountHistoryEdit = new BankAccountHistoryEdit(bankAccountHistory);
            return bankAccountHistoryEdit;
        }
        public ActionResult Edit(int meetingId, BankAccountHistoryEdit bankAccountHistoryEdit)
        {
            BankAccountHistory newBankAccountHistory = BankAccountHistoryCache.GetDetail(Db, bankAccountHistoryEdit.BankAccountHistoryId);
            if (!IsAccess(newBankAccountHistory))
            {
                return RedirectToAccessDenied();
            }

            if (ModelState.IsValid)
            {
                newBankAccountHistory.Ss = bankAccountHistoryEdit.Ss;
                newBankAccountHistory.Vs = bankAccountHistoryEdit.Vs;
                newBankAccountHistory.Ammount = bankAccountHistoryEdit.AmmountView;
                newBankAccountHistory.Note = bankAccountHistoryEdit.Note;

                Db.SaveChanges();

                return RedirectToAction("Index", new { meetingId });
            }

            ViewBag.MeetingId = meetingId;

            BankAccountHistoryEdit newBankAccountHistoryEdit = BankAccountHistoryEdit.GetModelView(newBankAccountHistory);

            return View(newBankAccountHistoryEdit);
        }