public bool insert(Krs krs) { db.Open(); var data = db.conn.Insert <Krs>(krs); db.Close(); return(true); }
public bool update(Krs krs) { db.Open(); var feedback = db.conn.Update(krs); db.Close(); return(feedback); }
public bool delete(Krs krs) { db.Open(); var data = db.conn.Delete <Krs>(krs); db.Close(); return(true); }