public Stream DeleteByExpiredDate(string expiredDate) { IDeleteAuthenticationCodeBusinessService businessService = (IDeleteAuthenticationCodeBusinessService)BusinessFactory.Create(Keywords.DeleteAuthenticationCode); OperationResult result = businessService.DeleteByExpiredDate(Convert.ToDateTime(expiredDate)); return(result.ToJsonStream()); }
public Stream DeleteByAuthorizationSessionID(string authorizationSessionID) { IDeleteAuthenticationCodeBusinessService businessService = (IDeleteAuthenticationCodeBusinessService)BusinessFactory.Create(Keywords.DeleteAuthenticationCode); OperationResult result = businessService.DeleteByAuthorizationSessionID(Convert.ToString(authorizationSessionID)); return(result.ToJsonStream()); }