public EmployeePayrollCreateCommand(Employee employee, Guid newPayrollId, EmployeePayrollNew newPayroll)
        {
            Guard.Against.Null(employee, nameof(employee));
            Guard.Against.Null(newPayroll, nameof(newPayroll));
            Guard.Against.Default(newPayrollId, nameof(newPayrollId));

            NewPayroll   = newPayroll;
            NewPayrollId = newPayrollId;
            Employee     = employee;
        }
 public void Deconstruct(out Employee employee, out Guid newPayrollId, out EmployeePayrollNew newPayroll)
 {
     employee     = Employee;
     newPayrollId = NewPayrollId;
     newPayroll   = NewPayroll;
 }