public ActionResult Edit(String transactionId, string clientId,string practiceId)
 {
     TransactionModel model = new TransactionModel();
     model.ClientId = new Guid(clientId);
     model.PracticeId = new Guid(practiceId);
     model.LoadData(new Guid(clientId), new Guid(transactionId));
     return View(model);
 }
        public ActionResult Delete(String transactionId, string clientId, string practiceId)
        {
            TransactionModel model = new TransactionModel();
            if (clientId != null && transactionId != null)
            {
                model.ClientId = new Guid(clientId);
                model.PracticeId = new Guid(practiceId);
                model.LoadData(new Guid(clientId), new Guid(transactionId));
                return View(model);
            }

            return RedirectToAction("Index", "Transaction", new { clientId = model.ClientId.ToString(), practiceId = model.PracticeId.ToString() });
        }
 public ActionResult GetIncomeTransactions(string clientId, string practiceId)
 {
     TransactionModel model = new TransactionModel();
     model.ClientId = new Guid(clientId);
     model.PracticeId = new Guid(practiceId);
     model.LoadData(new Guid(clientId));
     return Json(model.IncomeTransactions, JsonRequestBehavior.AllowGet);
 }