Ejemplo n.º 1
0
        public TModel Concrete(IMonCollection <TModel> collection)
        {
            if (collection == null)
            {
                throw new ArgumentNullException(nameof(collection));
            }

            return(collection.FindOne(x => x.Id.Equals(this.Id)));
        }
Ejemplo n.º 2
0
 public QueryBuilder(IMonCollection <TModel> collection)
 {
     this.Collection = collection;
 }