public IList <Sharing> Handle(GetRecipientsSelections query)
 {
     return(_sharingRepository.GetAll()
            .Where(x => x.IsActive &&
                   query.RecipientID.Contains(x.Recipient.ID))
            .ToList());
 }
 public IList <Sharing> Handle(GetAllSharings query)
 {
     return(_sharingRepository.GetAll()
            .Where(x => x.IsActive)
            .ToList());
 }