Esempio n. 1
0
        public static List <ThemeSetup> GetTheme(int Event, int id, string code, string code1)
        {
            var lst = new List <ThemeSetup>();
            var dt  = DlTheme.GetTheme(Event, id, code, code1);

            if (dt.Rows.Count > 0)
            {
                foreach (DataRow dr in dt.Rows)
                {
                    var obj = new ThemeSetup(Convert.ToInt32(dr["Id"]), dr["Category"].ToString());
                    lst.Add(obj);
                }
            }
            return(lst);
        }
Esempio n. 2
0
        public static DataTable GetUsersByTheme(int Event, int id, string code, string code1)
        {
            var dt = DlTheme.GetTheme(Event, id, code, code1);

            return(dt);
        }