public Stream UpdateExpiredDate(string idRefreshToken, string expiredDate) { IUpdateRefreshTokenBusinessService businessService = (IUpdateRefreshTokenBusinessService)BusinessFactory.Create(Keywords.UpdateRefreshToken); OperationResult result = businessService.UpdateExpiredDate(Convert.ToInt64(idRefreshToken), Convert.ToDateTime(expiredDate)); return(result.ToJsonStream()); }
public Stream UpdateRefreshTokenString(string idRefreshToken, string refreshTokenString) { IUpdateRefreshTokenBusinessService businessService = (IUpdateRefreshTokenBusinessService)BusinessFactory.Create(Keywords.UpdateRefreshToken); OperationResult result = businessService.UpdateRefreshTokenString(Convert.ToInt64(idRefreshToken), Convert.ToString(refreshTokenString)); return(result.ToJsonStream()); }