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