feat(EnvelopeReceiverService): Erstellen der Methode ReadWithSecretByUuidAsync ohne Implementierung.

This commit is contained in:
Developer 02 2025-03-18 11:50:20 +01:00
parent b6e15dbf03
commit 08dd6a9aa7
3 changed files with 7 additions and 1 deletions

View File

@ -34,4 +34,5 @@ public interface IEnvelopeReceiverService : IBasicCRUDService<EnvelopeReceiverDt
Task<DataResult<string?>> ReadLastUsedReceiverNameByMail(string mail);
Task<DataResult<SmsResponse>> SendSmsAsync(string envelopeReceiverId, string message);
Task<DataResult<IEnumerable<EnvelopeReceiverSecretDto>>> ReadWithSecretByUuidAsync(string uuid);
}

View File

@ -175,4 +175,9 @@ public class EnvelopeReceiverService : BasicCRUDService<IEnvelopeReceiverReposit
return Result.Success(res);
}
public Task<DataResult<IEnumerable<EnvelopeReceiverSecretDto>>> ReadWithSecretByUuidAsync(string uuid)
{
throw new NotImplementedException();
}
}

View File

@ -80,7 +80,7 @@ namespace EnvelopeGenerator.GeneratorAPI.Controllers
{
try
{
return await _erService.ReadSecretByUuidAsync(uuid: uuid).ThenAsync(
return await _erService.ReadWithSecretByUuidAsync(uuid: uuid).ThenAsync(
Success: Ok,
Fail: IActionResult (msg, ntc) =>
{