public IHasId GetById(object id)
        {
            var filter = UniqueIdValidator.GetFindSameIdSearchFilter(id);
            var list   = this.Search(filter);

            return(list.FirstOrDefault());
        }
 public StoreOfUniqueIdDecoration(IStore decorated)
     : base(decorated, UniqueIdValidator.New(decorated))
 {
 }