public IEnumerable <Message> GetAll() { var messages = _adapter.GetAll().Select(m => (Message)m); return(messages); }