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