public virtual void Reject(ProtocolRejectReasonEnum reason) { _status = ProtocolStatus.RJ; _rejectReason = reason; }
public virtual void Reject(ProtocolRejectReasonEnum reason) { _status = ProtocolStatus.RJ; _rejectReason = reason; }
public void Execute(ProtocolAssignmentStep assignmentStep, Staff rejectedBy, ProtocolRejectReasonEnum reason) { if (assignmentStep.State == ActivityStatus.SC) { assignmentStep.Start(rejectedBy); } assignmentStep.Discontinue(); assignmentStep.Protocol.Reject(reason); // TODO: one resolution step or one per procedure? ProtocolResolutionStep resolutionStep = new ProtocolResolutionStep(assignmentStep.Protocol); assignmentStep.Procedure.AddProcedureStep(resolutionStep); }