public ActionResult Edit(TransactionModel model) { ICashFlowManagerService service = new CashFlowManagerService(); model.SelectedTransaction.ScheduleId = model.SelectedSchedule; model.SelectedTransaction.ClientId = model.ClientId; model.SelectedTransaction.TransactionTypeId = model.SelectedTransactionType; service.UpdateTransaction(model.SelectedTransaction); return RedirectToAction("Index", "Transaction", new { clientId = model.ClientId.ToString(),practiceId= model.PracticeId.ToString() }); }