public static void EditnewJob(PrepAndPaintModel editJob) { using (SQLiteConnection connection = new SQLiteConnection(DataBase.mainDatabaseFile)) { connection.Update(editJob); } }
public static void Delete(PrepAndPaintModel Id) { using (SQLiteConnection connection = new SQLiteConnection(DataBase.mainDatabaseFile)) { connection.Delete(Id); } }
public static void AddnewJob(PrepAndPaintModel newJob) { using (SQLiteConnection connection = new SQLiteConnection(DataBase.mainDatabaseFile)) { connection.Insert(newJob); } }