public GatewaySmsClient(SmsServiceProperties smsServiceProperties) { this.smsServiceProperties = smsServiceProperties; client = new HttpClient(); cache = MemoryCache.Default; }
public NotificationService(ISmsClient smsClient, NotificationProperties notificationProperties, SmsServiceProperties smsServiceProperties) { this.smsClient = smsClient; this.notificationProperties = notificationProperties; this.smsServiceProperties = smsServiceProperties; }