Пример #1
0
        public ActionResult GetBootGridTransactions(
            int current,
            int rowCount,
            string searchPhrase,
            IEnumerable <SortData> sortItems)
        {
            if (rulesEngineService.IsCustomerPaymentsEnabled())
            {
                string jsonString = paymentManager.GetBootGridTransactions(
                    current,
                    rowCount,
                    searchPhrase,
                    sortItems,
                    UmbracoContext);

                return(Content(jsonString, "application/json"));
            }

            return(Content(string.Empty, "application/json"));
        }