Skip to content

Commit fc6ca4e

Browse files
author
CIS Guru
committed
Final merge from Phase 2.4 Notifications Infrastructure
1 parent f0ed0f0 commit fc6ca4e

1 file changed

Lines changed: 0 additions & 27 deletions

File tree

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,6 @@
11

22
using Aquiis.SimpleStart.Core.Interfaces.Services;
33

4-
<<<<<<< HEAD
5-
namespace Aquiis.SimpleStart.Infrastructure.Services
6-
{
7-
public class SMSService : ISMSService
8-
{
9-
private readonly ILogger<SMSService> _logger;
10-
11-
public SMSService(ILogger<SMSService> logger)
12-
{
13-
_logger = logger;
14-
}
15-
16-
public async Task SendSMSAsync(string phoneNumber, string message)
17-
{
18-
// TODO: Implement with Twilio in Task 2.5
19-
_logger.LogInformation($"[SMS] To: {phoneNumber}, Message: {message}");
20-
await Task.CompletedTask;
21-
}
22-
23-
public async Task<bool> ValidatePhoneNumberAsync(string phoneNumber)
24-
{
25-
// Basic validation
26-
var digits = new string(phoneNumber.Where(char.IsDigit).ToArray());
27-
return await Task.FromResult(digits.Length >= 10);
28-
}
29-
=======
304
namespace Aquiis.SimpleStart.Infrastructure.Services;
315

326
public class SMSService : ISMSService
@@ -50,6 +24,5 @@ public async Task<bool> ValidatePhoneNumberAsync(string phoneNumber)
5024
// Basic validation
5125
var digits = new string(phoneNumber.Where(char.IsDigit).ToArray());
5226
return await Task.FromResult(digits.Length >= 10);
53-
>>>>>>> phase-2.4-notification-infrastructure
5427
}
5528
}

0 commit comments

Comments
 (0)