diff --git a/CompanyManagment.Application/SmsSettingApplication.cs b/CompanyManagment.Application/SmsSettingApplication.cs
index 8ffb12dc..af2ceead 100644
--- a/CompanyManagment.Application/SmsSettingApplication.cs
+++ b/CompanyManagment.Application/SmsSettingApplication.cs
@@ -155,7 +155,7 @@ public class SmsSettingApplication : ISmsSettingApplication
if (taker > 0)
{
- devModeNumberList = ["09114221321", "09116967898", "09116067106"];
+ devModeNumberList = ["09114221321", "116967898", "116067106"];
command = command.Take(taker).ToList();
for (int i = 0; i < 3; i++)
{
diff --git a/ServiceHost/Areas/Admin/Controllers/SmsReportController.cs b/ServiceHost/Areas/Admin/Controllers/SmsReportController.cs
index 327e4960..d909406f 100644
--- a/ServiceHost/Areas/Admin/Controllers/SmsReportController.cs
+++ b/ServiceHost/Areas/Admin/Controllers/SmsReportController.cs
@@ -260,10 +260,10 @@ public class SmsReportController : AdminBaseController
///
///
[HttpPost("InstantReminderSmsSend")]
- public async Task InstantReminderSmsSend([FromBody] List phoneNumbers)
+ public async Task> InstantReminderSmsSend([FromBody] List phoneNumbers)
{
- var result = _smsSettingApplication.InstantSmsSendApi(TypeOfSmsSetting.InstitutionContractDebtReminder, phoneNumbers);
- return Ok();
+ var result =await _smsSettingApplication.InstantSmsSendApi(TypeOfSmsSetting.InstitutionContractDebtReminder, phoneNumbers);
+ return result;
}
///
@@ -272,10 +272,10 @@ public class SmsReportController : AdminBaseController
///
///
[HttpPost("InstantBlockSmsSend")]
- public async Task InstantBlockSmsSend([FromBody] List phoneNumbers)
+ public async Task> InstantBlockSmsSend([FromBody] List phoneNumbers)
{
- var result = _smsSettingApplication.InstantSmsSendApi(TypeOfSmsSetting.BlockContractingParty, phoneNumbers);
- return Ok();
+ var result =await _smsSettingApplication.InstantSmsSendApi(TypeOfSmsSetting.BlockContractingParty, phoneNumbers);
+ return result;
}
#endregion
}
\ No newline at end of file
diff --git a/ServiceHost/Properties/launchSettings.json b/ServiceHost/Properties/launchSettings.json
index 8273599b..a2b4a08d 100644
--- a/ServiceHost/Properties/launchSettings.json
+++ b/ServiceHost/Properties/launchSettings.json
@@ -19,7 +19,7 @@
"sqlDebugging": true,
"dotnetRunMessages": "true",
"nativeDebugging": true,
- "applicationUrl": "https://localhost:5004;http://localhost:5003;https://192.168.0.117:5005",
+ "applicationUrl": "https://localhost:5004;http://localhost:5003;https://192.168.0.118:5005",
"jsWebView2Debugging": false,
"hotReloadEnabled": true
},