Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class User
- {
- public int ID { get; set; }
- public string Username { get; set; }
- public string Password { get; set; }
- public ICollection<int> PostIds { get; set; }
- public User(int id, string username, string password, IEnumerable<int> postIds)
- {
- this.ID = id;
- this.Username = username;
- this.Password = password;
- this.PostIds = new List<int>(postIds);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement