public IReadOnlyList <Postmessage> GetPostmessageByStatus(PostmessageStatus status)
 {
     return(_postmessageRepository.GetByStatus(status));
 }
 public IReadOnlyList <Postmessage> GetByStatus(PostmessageStatus status)
 {
     return(Entities
            .Where(e => e.Status == status)
            .ToList());
 }