Exemple #1
0
 public object GetAssociation(User user, Organisation organisation)
 {
     // look for association by user and organisation
     return Associations.FirstOrDefault();
 }
Exemple #2
0
 public void AddOrganisation(Organisation existingOrganisation)
 {
     // Validation on organisation
     Organisations.Add(existingOrganisation);
 }