public static IQueryable GroupBy(this IQueryable query, Type type, Action <GroupBuilder> callback) { var groupBuilder = new GroupBuilder(query); callback(groupBuilder); var ret = groupBuilder.Build(); return(ret); }
private void CanInsertAGroup() { _groupService.Insert(_groupBuilder.Build()); Assertion.AreEqual(1, _groupService.FindAll().Count); }