Esempio n. 1
0
 public bool InsertReceta(Receta objReceta)
 {
     try
     {
         RecetaBL recetaBL = new RecetaBL();
         return(recetaBL.InsertReceta(objReceta));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Esempio n. 2
0
 public List <Receta> ListReceta()
 {
     try
     {
         RecetaBL recetaBL = new RecetaBL();
         return(recetaBL.ListReceta());
     }
     catch (Exception e)
     {
         throw e;
     }
 }