-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPerson.cs
More file actions
24 lines (21 loc) · 770 Bytes
/
Person.cs
File metadata and controls
24 lines (21 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System.Collections.Generic;
namespace ExampleFastReportBusinessObject
{
public class Person
{
public int Id { get; set; }
public string Name { get; set; }
public string Surname { get; set; }
public int Age { get; set; }
public List<Person> GetPersons()
{
var persons = new List<Person>() {
new Person() { Id = 1, Name = "Bob", Surname = "Marley", Age = 35 },
new Person() { Id = 2, Name = "Bono", Surname = "Vox", Age = 55 },
new Person() { Id = 3, Name = "Madonna", Surname = "Louise", Age = 65 },
new Person() { Id = 3, Name = "Serj", Surname = "Tarkian", Age = 23 }
};
return persons;
}
}
}