Beispiel #1
0
 public ActionResult <IEnumerable <CT_DonHang> > Get(string id)
 {
     try
     {
         CT_DonHang_DTO mysqlGet = new CT_DonHang_DTO();
         return(mysqlGet.getCT_DonHang(id));
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Beispiel #2
0
 public ActionResult <CT_DonHang> Get(int id)
 {
     try
     {
         CT_DonHang_DTO mysqlGet = new CT_DonHang_DTO();
         return(mysqlGet.getCT_DonHang(id));
     }
     catch (Exception ex)
     {
         throw;
     }
 }