Esempio n. 1
0
        public PagedListModel <PrjectListVM> QueryProjectList(int Account_uid, bool MHFlag_MulitProject)
        {
            List <OrganiztionVM> tempResult             = systemOrgRepository.QueryOrganzitionInfoByAccountID(Account_uid);
            List <int>           OPType_OrganizationUID = new List <int>();

            foreach (OrganiztionVM temp in tempResult)
            {
                OPType_OrganizationUID.Add(int.Parse(temp.OPType_OrganizationUID.ToString()));
            }

            var ProjectListDatas = flowChartMasterRepository.QueryProjectList(Account_uid, OPType_OrganizationUID, MHFlag_MulitProject);

            return(new PagedListModel <PrjectListVM>(ProjectListDatas.Count(), ProjectListDatas));
        }