public bool GroupExists(string name) { var query = new GroupExistsQuery(dbContext.Groups); return(query.Execute(name)); }