public static String GetShowDays(int ShowID)
        {
            String moduleSettings = ModuleConfig.GetSettings();
            Data.ShowDetails showDetails = new Fpp.WebModules.Data.ShowDetails(moduleSettings);

            List<ShowDetails> userList = new List<ShowDetails>();
            DataSet ds = showDetails.GetAllShows(ShowID);

            foreach (DataRow row in ds.Tables[0].Rows)
            {
                userList.Add(new ShowDetails(row));
            }
            return fastJSON.JSON.Instance.ToJSON(userList);
        }
Esempio n. 2
0
 // add a news
 public int Add(string orgName)
 {
     Data.ShowDetails showDetails = new Fpp.WebModules.Data.ShowDetails(_moduleSettings);
     return showDetails.Add(orgName);
 }
Esempio n. 3
0
        public bool Delete()
        {
            Data.ShowDetails showDetails = new Fpp.WebModules.Data.ShowDetails(_moduleSettings);

            ShowClasses sc = new ShowClasses();
            sc.removeRing(_id);

            Judge j = new Judge();
            j.removeRing(_id);

            Helpers h = new Helpers();
            h.removeRing(_id);

            _ring.Delete(_id);

            return true;
        }