Пример #1
0
 internal static Personnel Map(AcctPersonnel personnel) =>
 new Personnel(personnel.Id, personnel.Name, personnel.Ssnumber.Value, personnel.PersonNumber.Value);
 internal static AccountPayroll Map(AcctPersonnel personnel, IEnumerable <AccountPayrollWarrant> warrants)
 => new AccountPayroll(personnel.Id, personnel.Name, personnel.Ssnumber.Value, personnel.PersonNumber.Value, warrants);