Пример #1
0
        public JsonResult GetLedgerVoucherBykeywordorList(string searchValue)
        {
            var tupleList = transactionsManager.CreateLedgerVoucherBykeyword(user.InstituteId, user.FinancialYearId, searchValue);
            var response  = new SearchTransactionViewModel()
            {
                transactionSearchLedgers = tupleList.transactionLedger,
                transactionAmount        = tupleList.totalTransactionAmount
            };
            var jsonResult = Json(response, JsonRequestBehavior.AllowGet);

            jsonResult.MaxJsonLength = int.MaxValue;
            return(jsonResult);
        }