public ActionResult GetBankAccounts(string clientId, string practiceId)
        {
            BankAccountModel model = new BankAccountModel();
            model.Load(new Guid(clientId), new Guid(practiceId));

            return Json(model.BankAccounts, JsonRequestBehavior.AllowGet);
        }
        //
        // GET: /BankAccount/
        public ActionResult Index(string clientId, string practiceId)
        {
            BankAccountModel model = new BankAccountModel();
            model.Load(new Guid(clientId),new Guid(practiceId));

            return View(model);
        }
 public ActionResult Edit(BankAccountModel model)
 {
     ICashFlowManagerService service = new CashFlowManagerService();
     model.SelectedBankAccount.ClientId = model.ClientId;
     service.UpdateBankAccount(model.SelectedBankAccount);
     return RedirectToAction("Index", "BankAccount", new { clientId = model.ClientId.ToString(), practiceId = model.PracticeId.ToString() });
 }