Exemplo n.º 1
0
 public override void Reject(Charter charter)
 {
     charter.RejectSubmited();
     charter.SetStateType(States.SubmitRejected);
     charter.SetStateType(_charterStateFactory.CreateSubmitRejectedState());
 }
Exemplo n.º 2
0
 public override void Approve(Charter charter)
 {
     charter.Submited();
        charter.SetStateType(States.Submitted);
        charter.SetStateType(_charterStateFactory.CreateSubmittedState());
 }