Groups IGroupsService.FindByName(string name) { Groups group = repo.FindByName(name); if (group == null) { throw new GroupNotFoundException(); } return(group); }