Ejemplo n.º 1
0
        public ActionResult SelectCout(int pageSize, int pageNumber, bool?isEnabled, int?visible, string branchName,
                                       string batchGuid, int sort)
        {
            SerchThirdPartyMallModel serch = new SerchThirdPartyMallModel()
            {
                PageNumber = pageNumber,
                PageSize   = pageSize,
                BatchName  = branchName,
                IsEnabled  = isEnabled,
                Visible    = visible,
                Sort       = sort
            };

            if (!string.IsNullOrWhiteSpace(batchGuid))
            {
                serch.BatchGuid = new Guid(batchGuid);
            }
            else
            {
                serch.BatchGuid = null;
            }
            var result = ThirdPartyMallConfigManage.SelectCout(serch);

            return(Json(new { msg = result }));;
        }