Skip to content

Commit 8f82b3d

Browse files
test code
1 parent bff48b5 commit 8f82b3d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Spd.Resource.Repository.JobSchedule/Org/OrgRepository.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using AutoMapper;
2+
using Microsoft.Dynamics.CRM;
23
using Spd.Resource.Repository.JobSchedule.GeneralizeScheduleJob;
34
using Spd.Utilities.Dynamics;
45

@@ -20,6 +21,10 @@ public async Task<IEnumerable<ResultResp>> RunMonthlyInvoiceAsync(CancellationTo
2021
.Where(a => a.spd_eligibleforcreditpayment == (int)YesNoOptionSet.Yes)
2122
.ToList();
2223

24+
accounts = new List<account>()
25+
{
26+
accounts.FirstOrDefault()
27+
};
2328
using var semaphore = new SemaphoreSlim(10); // Limit to 10 concurrent requests
2429

2530
var tasks = accounts.Select(async a =>

0 commit comments

Comments
 (0)