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