public ActionResult Withdraw(int clientId)
 {
     var model = new OperationModel
                     {
                         ClientId = clientId,
                         CurrentAmount =
                             this.clientsService.GetClient(clientId).PrimaryAccount.Amount
                     };
     return this.View(model);
 }
 public ActionResult Withdraw(OperationModel model)
 {
     var client = this.clientsService.GetClient(model.ClientId);
     this.paymentService.Withdraw(client, model.Amount);
     return this.Json(true, JsonRequestBehavior.AllowGet);
 }
 public ActionResult Deposit(int clientId)
 {
     var model = new OperationModel { ClientId = clientId };
     return this.View(model);
 }