Compare commits
No commits in common. "07b63077d15f1784e9208191a328ccda08ca7011" and "f924b4985ae59ebd192638a469615f504e0aea99" have entirely different histories.
07b63077d1
...
f924b4985a
|
|
@ -169,12 +169,6 @@ namespace IRaCIS.Core.Application.Services
|
|||
{
|
||||
item.EnabledTime = DateTime.Now;
|
||||
}
|
||||
|
||||
if (await _trialSiteRepository.AnyAsync(t => t.TrialSiteCode == item.TrialSiteCode && t.TrialId == item.TrialId))
|
||||
{
|
||||
//---Code is not allowed to be repeated
|
||||
return ResponseOutput.NotOk(_localizer["TrialSite_CodeDuplicate"]);
|
||||
}
|
||||
}
|
||||
|
||||
await _trialSiteRepository.AddRangeAsync(addArray);
|
||||
|
|
|
|||
Loading…
Reference in New Issue