public DataTable BenhNhanSelectByID(string id)
 {
     var bnDAL = new BenhNhanDAL();
     var dt = new DataTable();
     dt = bnDAL.BenhNhanSelectByID(id);
     return dt;
 }
 public DataTable BenhNhanSearch1(BenhNhanEntity bn)
 {
     var bnDAL = new BenhNhanDAL();
     var dt = new DataTable();
     dt = bnDAL.BenhNhanSearch1(bn);
     return dt;
 }
 public DataTable BenhNhanSelectByFlag()
 {
     var bnDAL = new BenhNhanDAL();
     var dt = new DataTable();
     dt = bnDAL.BenhNhanSelectByFlag();
     return dt;
 }
Beispiel #4
0
 public static DataSet GetBenhNhanList(string _strConnection)
 {
     var ds = new DataSet();
        var helper = new BenhNhanDAL();
        ds = helper.fnGetBenhNhanList(_strConnection);
        return ds;
 }
 public bool BenhNhanUpDate(BenhNhanEntity bn)
 {
     var bnDAL = new BenhNhanDAL();
     var i = bnDAL.BenhNhanUpDate(bn);
     if (i == 1)
         return true;
     else
         return false;
 }