예제 #1
0
        public ActionResult List(Paging paging, List <OrderBy> orderBy)
        {
            bool isSuperAdmin = User.IsSuperAdmin();
            var  centreId     = UserCentreId;
            var  data         = _nidanBusinessService.RetrieveCompanyGrid(UserOrganisationId,
                                                                          p => (isSuperAdmin || p.CentreId == centreId), orderBy, paging);

            return(this.JsonNet(data));
        }