Beispiel #1
0
 public void Add(ChatUserMention mention)
 {
     _db.Mentions.Add(mention);
     _db.SaveChanges();
 }
Beispiel #2
0
 public void Remove(ChatUserMention mention)
 {
     _mentions.Remove(mention);
 }
Beispiel #3
0
 public void Remove(ChatUserMention mention)
 {
     _db.Mentions.Remove(mention);
     _db.SaveChanges();
 }
Beispiel #4
0
 public void Add(ChatUserMention mention)
 {
     _mentions.Add(mention);
     if (mention.User != null)
     {
         mention.User.Mentions.Add(mention);
     }
 }