Codice:
public static Company GetData()
{
return new Company()
{
Title = "Company Ltd",
Employees = new List<employee>()
{
new Employee(){ Name = "Mark CEO", EmployeeType = EmployeeType.CEO },
new Employee(){ Name = "Matija Božičević", EmployeeType = EmployeeType.Developer },
new Employee(){ Name = "Steve Developer", EmployeeType = EmployeeType.Developer}
}
};
}
Nessun commento:
Posta un commento