示例#1
0
        public Stream DeleteBySessionExpiredDate(string sessionExpiredDate)
        {
            IDeleteAuthenticationSessionBusinessService businessService = (IDeleteAuthenticationSessionBusinessService)BusinessFactory.Create(Keywords.DeleteAuthenticationSession);
            OperationResult result = businessService.DeleteBySessionExpiredDate(Convert.ToDateTime(sessionExpiredDate));

            return(result.ToJsonStream());
        }
示例#2
0
        public Stream DeleteByClientID(string clientID)
        {
            IDeleteAuthenticationSessionBusinessService businessService = (IDeleteAuthenticationSessionBusinessService)BusinessFactory.Create(Keywords.DeleteAuthenticationSession);
            OperationResult result = businessService.DeleteByClientID(Convert.ToString(clientID));

            return(result.ToJsonStream());
        }