Exemplo n.º 1
0
 public static bool delPlantas(int?idPlanta, int?idFoto)
 {
     try
     { dPlantas db = new dPlantas();
       return(db.delPlanta(idPlanta, idFoto)); }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 2
0
 public static List <ePlantas> selPlantas(string nome)
 {
     try
     {
         dPlantas db = new dPlantas();
         return(db.selPlantas(nome));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 3
0
 public static int insPlantas(ePlantas planta)
 {
     try
     {
         dPlantas db = new dPlantas();
         return(db.insPlantas(planta));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }