Uat_Study
he 2022-05-24 10:51:29 +08:00
parent 4244342e9a
commit a8894de3f1
2 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ namespace IRaCIS.Core.Application.Contracts.DTO
}
public class CloseQCChallengeDto
public class CloseQCChallengeInDto
{
public Guid qcChallengeId { get; set; }

View File

@ -148,11 +148,11 @@ namespace IRaCIS.Core.Application.Image.QA
/// <param name="closeEnum"></param>
/// <param name="closeReason"></param>
/// <returns></returns>
[HttpPut("{trialId:guid}/{subjectVisitId:guid}/{qcChallengeId:guid}/{closeEnum}/{closeReason}")]
[HttpPut]
[TypeFilter(typeof(TrialResourceFilter))]
[UnitOfWork]
//[Authorize(Policy = "ImageQCPolicy")]
public async Task<IResponseOutput> CloseQCChallenge(CloseQCChallengeDto input)
public async Task<IResponseOutput> CloseQCChallenge(CloseQCChallengeInDto input)
{
if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.IQC)