IRC_NewDev
			
			
		
		
							parent
							
								
									87776513fb
								
							
						
					
					
						commit
						146fc916d1
					
				| 
						 | 
					@ -72,7 +72,17 @@ namespace IRaCIS.Core.Application.Contracts
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public class TrialProcessConfig
 | 
					    public class ConfigTrialProcessInfoVerificationInDto
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
							public Guid TrialId { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							public List<Guid> TrialCriterionIds { get; set; } = new List<Guid>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							public List<Guid> ClinicalDataTrialSetIds { get; set; } = new List<Guid>();
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						public class TrialProcessConfig
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public List<Guid> CriterionIds { get; set; } = new List<Guid>();
 | 
					        public List<Guid> CriterionIds { get; set; } = new List<Guid>();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -958,7 +958,7 @@ namespace IRaCIS.Core.Application
 | 
				
			||||||
        /// <exception cref="BusinessValidationFailedException"></exception>
 | 
					        /// <exception cref="BusinessValidationFailedException"></exception>
 | 
				
			||||||
        [HttpPost]
 | 
					        [HttpPost]
 | 
				
			||||||
		[TypeFilter(typeof(TrialResourceFilter), Arguments = new object[] { "BeforeOngoingCantOpt", "AfterStopCannNotOpt" })]
 | 
							[TypeFilter(typeof(TrialResourceFilter), Arguments = new object[] { "BeforeOngoingCantOpt", "AfterStopCannNotOpt" })]
 | 
				
			||||||
		public async Task ConfigTrialProcessInfoVerification(TrialProcessConfig trialConfig)
 | 
							public async Task ConfigTrialProcessInfoVerification(ConfigTrialProcessInfoVerificationInDto trialConfig)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
			if (!await _trialRepository.Where(t => t.Id == trialConfig.TrialId).IgnoreQueryFilters().AnyAsync(t => t.TrialStatusStr == StaticData.TrialState.TrialInitializing))
 | 
								if (!await _trialRepository.Where(t => t.Id == trialConfig.TrialId).IgnoreQueryFilters().AnyAsync(t => t.TrialStatusStr == StaticData.TrialState.TrialInitializing))
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue