public PayrollArchiveModel GetPayrolls(int id) { PayrollArchiveModel archive = new(); archive.Header = _payrollArchive.GetHeader(id); archive.Payrolls = _payrollArchive.GetArchivePayrolls(id); archive.Supplements = _payrollArchive.GetArchiveSupplements(id); archive.WorkedHours = _payrollArchive.GetArchiveHours(id); return(archive); }
public List <PayrollArchiveSupplementModel> GetSupplements(int accountingId) { return(_payrollArchive.GetArchiveSupplements(accountingId)); }