public void CreateLoaiXetNghiem(Medi_LoaiXN lxn)
 {
     using (SqlConnection connection = base.GetConnection())
     {
         SqlCommand command = new SqlCommand("_LoaiXetNghiemUpdate", connection)
         {
             CommandType = CommandType.StoredProcedure
         };
         command.Parameters.AddWithValue("@TenLoaiXN", lxn.TenLoaiXN);
         command.Parameters.AddWithValue("@ID_Cha", lxn.Id_Cha);
         command.Parameters.AddWithValue("@Index", lxn.Index);
         connection.Open();
         if (command.ExecuteNonQuery() <= 0)
         {
             throw new DataAccessException("Kiểm tra lại thông tin khách hàng");
         }
         command.Dispose();
     }
 }
 public void Createlxn(Medi_LoaiXN pxn)
 {
     new Medi_LoaiXNDAO().CreateLoaiXetNghiem(pxn);
 }