Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adityadeshpande/5c79c760c5d6f3cc70f3d03f54db3a06 to your computer and use it in GitHub Desktop.
Save adityadeshpande/5c79c760c5d6f3cc70f3d03f54db3a06 to your computer and use it in GitHub Desktop.
public class DataFactory
{
public List<User> Users = new List<User>()
{
new User{ Id = 1, Name = "Abigail Roberts", Designation = "Sr.Manager", PhoneNumber = "+917000800000", ProfilePicture = "user1.png"},
new User{ Id = 2, Name = "Lance Johnston", Designation = "Jr.Manager", PhoneNumber = "+913467347734", ProfilePicture = "user2.png"},
new User{ Id = 3, Name = "Melinda Walters ", Designation = "Analyst", PhoneNumber = "+1221211211", ProfilePicture = "user3.png"},
new User{ Id = 4, Name = "Xuan Li Chow", Designation = "Trainee", PhoneNumber = "+121256578939", ProfilePicture = "user4.png"},
new User{ Id = 5, Name = "James Lamb", Designation = "Intern", PhoneNumber = "+67122210133", ProfilePicture = "user5.png"},
new User{ Id = 6, Name = "Nikki A. Rubin", Designation = "Intern", PhoneNumber = "+6713420133", ProfilePicture = "user6.png"},
new User{ Id = 7, Name = "Robert S. Hess", Designation = "Desktop publisher", PhoneNumber = "+63442210133", ProfilePicture = "user7.png"},
new User{ Id = 8, Name = "Fábio Ferreira Azevedo", Designation = "Finance", PhoneNumber = "+323423434256", ProfilePicture = "user8.png"},
new User{ Id = 9, Name = "Elaine R. Pressman", Designation = "Team Lead", PhoneNumber = "+2452523535", ProfilePicture = "user9.png"}
};
public class User
{
public int Id { get; set; }
public string Name { get; set; }
public string ProfilePicture { get; set; }
public string Designation { get; set; }
public string PhoneNumber { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment