Test singnalR instandSms

This commit is contained in:
gozareshgir
2026-01-29 15:26:04 +03:30
parent a55492b16a
commit 45b4690066

View File

@@ -2109,6 +2109,18 @@ public class InstitutionContractSmsServiceRepository : RepositoryBase<long, Inst
int successProcess = 1;
int countList = smsListData.Count;
#region Test
//for (int i = 0; i < 100; i++)
//{
// var percent = (successProcess / (double)countList) * 100;
// await _hubContext.Clients.Group(SendSmsHub.GetGroupName(7))
// .SendAsync("showStatus", (int)percent);
// Thread.Sleep(1000);
// successProcess += 1;
//}
#endregion
foreach (var item in smsListData)
{