public ActionResult <Loai_DonHang> Get(int id) { try { Loai_DonHang_DTO mysqlGet = new Loai_DonHang_DTO(); return(mysqlGet.getLoai_DonHang(id)); } catch (Exception) { throw; } }
public ActionResult <IEnumerable <Loai_DonHang> > Get() { try { Loai_DonHang_DTO mysqlGet = new Loai_DonHang_DTO(); return(mysqlGet.getLoai_DonHang()); } catch (Exception) { throw; } }