feat(SmsResponse): Erstellung eines Standardantwort-DTOs für SMS-Anfragen.
- GtxMessagingResponse für rohe dynamische Antwort erstellt. - Mapping-Profil hinzufügen
This commit is contained in:
@@ -15,7 +15,7 @@ namespace EnvelopeGenerator.Web.Controllers.Test
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> SendAsync(string recipient, string message)
|
||||
public async Task<IActionResult> SendAsync(string recipient, string message, bool staticResponse = true)
|
||||
{
|
||||
var res = await _service.SendSmsAsync(recipient: recipient, message: message);
|
||||
return res is null? StatusCode(StatusCodes.Status500InternalServerError) : Ok(res);
|
||||
|
||||
Reference in New Issue
Block a user