public static IList <VoteItemInfo> GetVoteItems(long voteId) { return(StoreProvider.Instance().GetVoteItems(voteId)); }
public static DataSet GetVotes() { return(StoreProvider.Instance().GetVotes()); }
public static VoteInfo GetVoteById(long voteId) { return(StoreProvider.Instance().GetVoteById(voteId)); }
public static int GetVoteCounts(long voteId) { return(StoreProvider.Instance().GetVoteCounts(voteId)); }
public static IList <string> GetOperationUseNames() { return(StoreProvider.Instance().GetOperationUserNames()); }
public static DataTable GetHotKeywords() { return(StoreProvider.Instance().GetHotKeywords()); }
public static bool DeleteAllLogs() { return(StoreProvider.Instance().DeleteAllLogs()); }
public static DbQueryResult GetLogs(OperationLogQuery query) { return(StoreProvider.Instance().GetLogs(query)); }
public static bool DeleteLog(long logId) { return(StoreProvider.Instance().DeleteLog(logId)); }
public static int DeleteLogs(string strIds) { return(StoreProvider.Instance().DeleteLogs(strIds)); }
public static bool Delete(int userId) { SiteManager siteManager = HiContext.Current.User as SiteManager; return(siteManager.UserId != userId && StoreProvider.Instance().DeleteManager(userId)); }
public static void ClearRolePrivilege(Guid roleId) { StoreProvider.Instance().ClearRolePrivilege(roleId); }
public static DbQueryResult GetManagers(ManagerQuery query) { return(StoreProvider.Instance().GetManagers(query)); }