public List <EmploymentStatus> GetAllEmployeeStatues() { List <l2g_tbl_EmployeeStatus> statusEntities = db.l2g_tbl_EmployeeStatus.ToList(); List <EmploymentStatus> statuses = new List <EmploymentStatus>(); foreach (l2g_tbl_EmployeeStatus status in statusEntities) { statuses.Add(MappingConfig.EmployeeStatusToBusinessEntity(status)); } return(statuses); }