public void CadastrarGrupo(Grupo grupo) { if (_grupoRepositorio.GrupoExistente(grupo.Nome, grupo.Fase.Id)) { throw new BolaoTIException(string.Format(Messages.AlertMessage_Registro_Existente, Classes.Grupo_Class, Field.Grupo_Nome_Field, grupo.Nome)); } _grupoRepositorio.Insert(grupo); }