Beispiel #1
0
 public virtual void RemoveCommunity(Community community)
 {
     Communities.Remove(community);
     community.Members.Remove(this);
 }
        public void Send(string publicUrl, Community community)
        {
            var url = new Uri(new Uri(publicUrl), "api/community");

            Post(url, JsonSerializer.Serialize(community, JsonDefaultSettings.Options));
        }
Beispiel #3
0
 public virtual void AddCommunity(Community community)
 {
     community.Members.Add(this);
     Communities.Add(community);
 }