Last active
December 12, 2015 02:18
-
-
Save pvivera/4697804 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class User | |
{ | |
public string Username { get; set; } | |
public bool Active { get; set; } | |
} | |
public class Group | |
{ | |
public string Name { get; set; } | |
public List<User> Users { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I set Active = false for one user I don't loop all Groups search that specific user to set that property.
BTW I don't what want save the complete User for each Group that it belongs = space waste.