Пример #1
0
        public ActionResult GetListJson(string organizeId)
        {
            var data = userBLL.GetList();

            if (!string.IsNullOrWhiteSpace(organizeId))
            {
                data = data.Where(t => t.OrganizeId == organizeId && t.EnabledMark == 1 && t.VerifyMark == 1);
            }
            return(Content(data.ToJson()));
        }