修改权限
This commit is contained in:
@@ -340,12 +340,11 @@ namespace IRaCIS.Application.Services
|
||||
/// <param name="trialId">临床试验项目Id</param>
|
||||
|
||||
[HttpDelete, Route("{trialId:guid}")]
|
||||
[TypeFilter(typeof(TrialResourceFilter))]
|
||||
public async Task<IResponseOutput> DeleteTrial(Guid trialId)
|
||||
{
|
||||
|
||||
|
||||
var trial = (await _trialRepository.FirstOrDefaultAsync(u => u.Id == trialId)).IfNullThrowException();
|
||||
var trial = (await _trialRepository.FirstOrDefaultAsync(u => u.Id == trialId,true)).IfNullThrowException();
|
||||
|
||||
|
||||
if (_verifyConfig.CurrentValue.OpenTrialRelationDelete )
|
||||
|
||||
Reference in New Issue
Block a user