public void Update(ConversationMember member) { MyContext.Get().Entry(member).State = System.Data.Entity.EntityState.Modified; MyContext.Get().SaveChanges(); }
public void Delete(ConversationMember member) { MyContext.Get().Members.Remove(member); MyContext.Get().SaveChanges(); }
public void Create(ConversationMember member) { MyContext.Get().Members.Add(member); MyContext.Get().SaveChanges(); }