Compare commits
4 Commits
f924b4985a
...
07b63077d1
| Author | SHA1 | Date |
|---|---|---|
|
|
07b63077d1 | |
|
|
013b9720b3 | |
|
|
036565ec81 | |
|
|
bf61a05e45 |
|
|
@ -169,6 +169,12 @@ 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