Esempio n. 1
0
 //Update Note
 public int UpdateDetails(TeaProductsDB noteDB)
 {
     lock (locker)
     {
         return(sqlcon.Update(noteDB));
     }
 }
Esempio n. 2
0
 //Insert Note
 public int InsertDetails(TeaProductsDB notesDB)
 {
     lock (locker)
     {
         return(sqlcon.Insert(notesDB));
     }
 }