Exemplo n.º 1
0
 private void OnLeaveEvaluated(LeaveEvaluated e)
 {
     Status           = e.IsApproved ? StatusEnum.Approved : StatusEnum.Rejected;
     Evaluator        = e.UserName;
     EvaluatorComment = e.Comment;
     EvaluatedOn      = e.HappenedOn;
 }
Exemplo n.º 2
0
 private void OnLeaveEvaluated(LeaveEvaluated e)
 {
     Status = e.IsApproved ? StatusEnum.Approved : StatusEnum.Rejected;
     Evaluator = e.UserName;
     EvaluatorComment = e.Comment;
     EvaluatedOn = e.HappenedOn;
 }
 public void Handle(LeaveEvaluated @event)
 {
     LeaveReadModelRepository.SyncLeave(@event.SourceId);
 }