public JsonResult InvokeDeposit(long accountNumber, decimal amount, string currency) { var result = ur.InvokeDeposit(accountNumber, amount, currency); var deposit = new BalanceViewModel { AccountNumber = result.AccountNumber, Balance = result.Balance, Currency = result.Currency, Successful = result.Successful, Message = result.Message }; return(Json(deposit, JsonRequestBehavior.AllowGet)); }