Test singnalR instandSms
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user