public Stream DeleteBySessionExpiredDate(string sessionExpiredDate) { IDeleteAuthenticationSessionBusinessService businessService = (IDeleteAuthenticationSessionBusinessService)BusinessFactory.Create(Keywords.DeleteAuthenticationSession); OperationResult result = businessService.DeleteBySessionExpiredDate(Convert.ToDateTime(sessionExpiredDate)); return(result.ToJsonStream()); }
public Stream DeleteByClientID(string clientID) { IDeleteAuthenticationSessionBusinessService businessService = (IDeleteAuthenticationSessionBusinessService)BusinessFactory.Create(Keywords.DeleteAuthenticationSession); OperationResult result = businessService.DeleteByClientID(Convert.ToString(clientID)); return(result.ToJsonStream()); }