public string LayTenLoaiHangTheoMa(string maLH) { try { LoaiHangAccess lhA = new LoaiHangAccess(); return(lhA.LayTenLoaiHangTheoMa(maLH)); } catch (Exception ex) { throw ex; } }
public void SuaLoaiHang(LoaiHang lh) { try { LoaiHangAccess lhA = new LoaiHangAccess(); lhA.SuaLoaiHang(lh); } catch (Exception ex) { throw ex; } }
public void XoaLoaiHang(string maLH) { try { LoaiHangAccess lhA = new LoaiHangAccess(); lhA.XoaLoaiHang(maLH); } catch (Exception ex) { throw ex; } }
public List <LoaiHang> LayToanBoLoaiHang() { try { LoaiHangAccess lhA = new LoaiHangAccess(); return(lhA.LayToanBoLoaiHang()); } catch (Exception ex) { throw ex; } }