fix(sms): S2 review — add DeleteSmsConfigurationAsync + schema/repo tests + doc nit

This commit is contained in:
Joseph Doherty
2026-06-19 10:06:44 -04:00
parent b46691747c
commit 3827b98484
6 changed files with 47 additions and 2 deletions
@@ -124,6 +124,12 @@ public interface INotificationRepository
/// <returns>A task representing the asynchronous operation.</returns>
Task UpdateSmsConfigurationAsync(SmsConfiguration smsConfiguration, CancellationToken cancellationToken = default);
/// <summary>Deletes an SMS configuration by ID.</summary>
/// <param name="id">The SMS configuration ID.</param>
/// <param name="cancellationToken">Cancellation token.</param>
/// <returns>A task representing the asynchronous operation.</returns>
Task DeleteSmsConfigurationAsync(int id, CancellationToken cancellationToken = default);
/// <summary>Saves pending changes to the repository.</summary>
/// <param name="cancellationToken">Cancellation token.</param>
/// <returns>The number of entities saved.</returns>