public Task <IAsyncCursor <TResult> > AggregateAsync <T, TResult>(Template <T, TResult> template, AggregateOptions options = null) where T : IEntity { return(DB.AggregateAsync(template, options, Session)); }