// // 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 GetBankAccounts(string clientId, string practiceId) { BankAccountModel model = new BankAccountModel(); model.Load(new Guid(clientId), new Guid(practiceId)); return Json(model.BankAccounts, JsonRequestBehavior.AllowGet); }