Exemplo n.º 1
0
        public ActionResult GetAll(string wuYeYongTu, StoreRequestParameters parameters = null)
        {
            var data = EnumerableExtensions.ToList <object>(_service.GetAllMingChengDuiZhai(GetWuYeYongTuChn(wuYeYongTu)));

            if (parameters == null)
            {
                return(Json(data, JsonRequestBehavior.AllowGet));
            }
            return(this.Store(FilterSortAndPaging(data, parameters), data.Count()));
        }
Exemplo n.º 2
0
        public ActionResult GetDataRoles(StoreRequestParameters parameters = null)
        {
            var data = EnumerableExtensions.ToList <object>(_service.GetDataRole());

            if (parameters == null)
            {
                return(Json(data, JsonRequestBehavior.AllowGet));
            }
            return(this.Store(FilterSortAndPaging(data, parameters), data.Count()));
        }
Exemplo n.º 3
0
        public ActionResult GetByWuYeBianHao(string wuYeBianHao, StoreRequestParameters parameters = null)
        {
            var data =
                EnumerableExtensions.ToList <object>(
                    _service.GetAllZhuZhaiChengJiao().Where(x => x.WuYeBianHao == wuYeBianHao));

            if (parameters == null)
            {
                return(Json(data, JsonRequestBehavior.AllowGet));
            }
            return(this.Store(FilterSortAndPaging(data, parameters), data.Count()));
        }
Exemplo n.º 4
0
 protected override List <object> GetData()
 {
     return(EnumerableExtensions.ToList <object>(_docService.GetAllDocuments()));
 }
Exemplo n.º 5
0
 protected override List <object> GetData()
 {
     return(EnumerableExtensions.ToList <object>(_service.GetAllZhuZhaiChengJiao()));
 }
Exemplo n.º 6
0
 protected override List <object> GetData()
 {
     return(EnumerableExtensions.ToList <object>(_service.GetAllKeHuLianXiRen()));
 }
Exemplo n.º 7
0
 protected override List <object> GetData()
 {
     return(EnumerableExtensions.ToList <object>(_gongYePianQuService.GetAllGongYePianQu()));
 }
Exemplo n.º 8
0
 protected override List <object> GetData()
 {
     return(EnumerableExtensions.ToList <object>(_systemUpdateService.GetAllSystemUpdate()));
 }
Exemplo n.º 9
0
 protected override List <object> GetData()
 {
     return(EnumerableExtensions.ToList <object>(_service.GetAllResourceTypes()));
 }
Exemplo n.º 10
0
 protected override List <object> GetData()
 {
     return(EnumerableExtensions.ToList <object>(_service.GetAuthorizedAdminRoles()));
 }
Exemplo n.º 11
0
 protected override List <object> GetData()
 {
     return(EnumerableExtensions.ToList <object>(_service.GetAllResources().OrderBy(x => x.SortIndex)));
 }
Exemplo n.º 12
0
 protected override List <object> GetData()
 {
     //throw new NotImplementedException();
     return(EnumerableExtensions.ToList <object>(_service.GetAllMingChengDuiZhai("住宅")));
 }