25 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C#
		
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C#
		
	
	
| using IRaCIS.Application.Contracts;
 | |
| 
 | |
| namespace IRaCIS.Application.Interfaces
 | |
| {
 | |
| 
 | |
|     public interface ITrialService
 | |
|     {
 | |
|         bool TrialExpeditedChange { get; set; }
 | |
| 
 | |
|         Task<IResponseOutput> AddOrUpdateTrial(TrialCommand trialAddModel);
 | |
|         Task<IResponseOutput> UpdateTrialStatus(Guid trialId, string statusStr);
 | |
| 
 | |
|         Task<IResponseOutput> ConfirmTrialVisitPlan(Guid trialId, bool confirmOrCancel = true);
 | |
|         Task<IResponseOutput> DeleteTrial(Guid trialId);
 | |
|         Task<PageOutput<TrialDetailDTO>> GetReviewerTrialListByEnrollmentStatus(TrialByStatusQueryDTO param);
 | |
|         Task<List<Guid>> GetTrialEnrollmentReviewerIds(Guid trialId);
 | |
|         Task<int> GetTrialExpeditedState(Guid trialId);
 | |
|         Task<TrialDetailDTO> GetTrialInfoAndLockState(Guid projectId);
 | |
|         Task<TrialAndTrialStateVieModel> GetTrialInfoAndMaxTrialState(Guid trialId);
 | |
|         Task<PageOutput<TrialDetailDTO>> GetTrialList(TrialQueryDTO searchParam);
 | |
|         Task<PageOutput<TrialDetailDTO>> GetTrialListByReviewer(ReviewerTrialQueryDTO searchModel);
 | |
|         Task<int> GetTrialMaxState(Guid trialId);
 | |
|         Task<IResponseOutput> UpdateEnrollStatus(Guid trialId, int status);
 | |
|     }
 | |
| } |