public override void Reject(Charter charter) { charter.RejectSubmited(); charter.SetStateType(States.SubmitRejected); charter.SetStateType(_charterStateFactory.CreateSubmitRejectedState()); }
public override void Approve(Charter charter) { charter.Submited(); charter.SetStateType(States.Submitted); charter.SetStateType(_charterStateFactory.CreateSubmittedState()); }