コード例 #1
0
ファイル: PersonManagment.cs プロジェクト: ahyeah/equip-web
        public int GetPersonId(string Person_Name)
        {
            PersonAndWorkflow PW = new PersonAndWorkflow();
            int PersonId         = PW.GetPersonIdByName(Person_Name);

            return(PersonId);
        }
コード例 #2
0
ファイル: PersonManagment.cs プロジェクト: ahyeah/equip-web
        public int GetMenuId(string Menu_Name)
        {
            PersonAndWorkflow PW = new PersonAndWorkflow();
            int MenuId           = PW.GetMenuIdByName(Menu_Name);

            return(MenuId);
        }
コード例 #3
0
ファイル: PersonManagment.cs プロジェクト: ahyeah/equip-web
        //2016.10.8
        public bool AddPW(int personid, int menuid)
        {
            PersonAndWorkflow PW = new PersonAndWorkflow();
            bool res             = PW.AttachtoMenu(personid, menuid);

            return(res);
        }