public static DataSet getAllUserShowDetails(int ShowID) { String moduleSettings = ModuleConfig.GetSettings(); Data.UserShows us = new Fpp.WebModules.Data.UserShows(moduleSettings); return us.getAllUserShowDetails(ShowID); }
public static List<UserShows> getListUsersForShow(int ShowID) { String moduleSettings = ModuleConfig.GetSettings(); Data.UserShows us = new Fpp.WebModules.Data.UserShows(moduleSettings); DataSet ds = us.getAllUsersForShow(ShowID); List <UserShows> list = new List<UserShows>(); foreach (DataRow row in ds.Tables[0].Rows) { list.Add(new UserShows(row)); } return list; }
public static void DeleteEntry(int UserID, int ShowID) { String moduleSettings = ModuleConfig.GetSettings(); Data.UserShows us = new Fpp.WebModules.Data.UserShows(moduleSettings); us.Delete(UserID, ShowID); }