private EmployeeModel GetEmployeeModel(RawEmployeeModel employeeRawData) { var employeeModel = new EmployeeModel { EmployeeId = employeeRawData.EmployeeId, FirstName = employeeRawData.FirstName, HomeState = employeeRawData.HomeState, HoursWorked = ParseService.ParseInt(employeeRawData.HoursWorked, "Hours Worked"), LastName = employeeRawData.LastName, PayType = GetPayType(employeeRawData.PayType), Salary = ParseService.ParseDecimal(employeeRawData.Salary, "Salary"), StartDate = ParseService.ParseStartDate(employeeRawData.StartDate) }; return(employeeModel); }
public EmployeeService(ParseService ParseService, DocumentService DocumentService) { this.ParseService = ParseService; this.DocumentService = DocumentService; }