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