public void UpdateMessage(Message message) { }
/// <summary> /// Adds a message to the data context. /// </summary> /// <param name="message">The message to be added.</param> public void AddMessage(Message message) { _entityContainer.Messages.Add(message); }
/// <summary> /// Deletes a message from the data context. /// </summary> /// <param name="message">The message to be deleted.</param> public void DeleteMessage(Message message) { _entityContainer.Messages.Remove(message); }