Example #1
0
 public DtoFavoritos Buscar(int codigo) throws Exception {
   try {
     return daoFavoritos.BuscarFavoritos(codigo);
   } catch (Exception e) {
     throw new Exception(e.getMessage());
   }
 }
Example #2
0
 public Boolean Excluir(int codigo) throws Exception {
   try {
     return daoFavoritos.Excluir(codigo);
   } catch (Exception e) {
     throw new Exception(e.getMessage());
   }
 }
Example #3
0
 public DtoFavoritos ObterUltimoId() throws Exception {
   try {
     return daoFavoritos.ObterUltimoId();
   } catch (Exception e) {
     throw new Exception(e.getMessage());
   }
 }
Example #4
0
 public Boolean Incluir(DtoFavoritos favoritosDTO) throws Exception {
   try {
     daoFavoritos.Incluir(favoritosDTO);
   } catch (Exception e) {
     throw new Exception(e.getMessage());
   }
   return true;
 }