public void DeleteMessage(int id) { var messages = _dataBaseAccess.Delete(id); UpdateMessagesEvent?.Invoke(this, new UpdateMessagesEventArgs(messages)); }
public void DeleteMessage(int id) { var messages = _dataBaseAccess.Delete(id); UpdateMessagesEvent?.Invoke(this, new UpdateMessagesEventArgs(messages)); }