Example #1
0
        public static List <UI_WF_Define> ListAllWFDefine()
        {
            WorkFlows wfs = new WorkFlows();

            List <UI_WF_Define>    ui_wfs = new List <UI_WF_Define>();
            List <WorkFlow_Define> wds    = wfs.GetAllWorkFlows();

            wds.ForEach(s => ui_wfs.Add(new UI_WF_Define {
                wf_id = s.W_ID, wf_name = s.W_Name, wf_description = s.W_Attribution
            }));

            return(ui_wfs);
        }
Example #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     List <WorkFlow_Define> wf_def = wf.GetAllWorkFlows();
 }