public void RaiseRejectEvent(Guid instanceId) { if (Reject != null) { LeaveDetailsEventArgs e = new LeaveDetailsEventArgs(instanceId); Reject(this, e); } }
public void RaiseCancelEvent(Guid instanceId) { if (Cancel != null) { LeaveDetailsEventArgs e = new LeaveDetailsEventArgs(instanceId); Cancel(this, e); } }
public void RaiseApproveEvent(Guid instanceId) { if (Approve != null) { LeaveDetailsEventArgs e = new LeaveDetailsEventArgs(instanceId); Approve(this, e); } }