예제 #1
0
 public static IList <VoteItemInfo> GetVoteItems(long voteId)
 {
     return(StoreProvider.Instance().GetVoteItems(voteId));
 }
예제 #2
0
 public static DataSet GetVotes()
 {
     return(StoreProvider.Instance().GetVotes());
 }
예제 #3
0
 public static VoteInfo GetVoteById(long voteId)
 {
     return(StoreProvider.Instance().GetVoteById(voteId));
 }
예제 #4
0
 public static int GetVoteCounts(long voteId)
 {
     return(StoreProvider.Instance().GetVoteCounts(voteId));
 }
예제 #5
0
 public static IList <string> GetOperationUseNames()
 {
     return(StoreProvider.Instance().GetOperationUserNames());
 }
예제 #6
0
 public static DataTable GetHotKeywords()
 {
     return(StoreProvider.Instance().GetHotKeywords());
 }
예제 #7
0
 public static bool DeleteAllLogs()
 {
     return(StoreProvider.Instance().DeleteAllLogs());
 }
예제 #8
0
 public static DbQueryResult GetLogs(OperationLogQuery query)
 {
     return(StoreProvider.Instance().GetLogs(query));
 }
예제 #9
0
 public static bool DeleteLog(long logId)
 {
     return(StoreProvider.Instance().DeleteLog(logId));
 }
예제 #10
0
 public static int DeleteLogs(string strIds)
 {
     return(StoreProvider.Instance().DeleteLogs(strIds));
 }
예제 #11
0
        public static bool Delete(int userId)
        {
            SiteManager siteManager = HiContext.Current.User as SiteManager;

            return(siteManager.UserId != userId && StoreProvider.Instance().DeleteManager(userId));
        }
예제 #12
0
 public static void ClearRolePrivilege(Guid roleId)
 {
     StoreProvider.Instance().ClearRolePrivilege(roleId);
 }
예제 #13
0
 public static DbQueryResult GetManagers(ManagerQuery query)
 {
     return(StoreProvider.Instance().GetManagers(query));
 }