public IActionResult InsertShippADO([FromBody] ShipperInsertReq req) { var res = new SingleRsp(); var hist = _svc.InsertShippADO(req); res.Data = hist; return(Ok(res)); }
//Câu 3 đề 3 public Shippers InsertShippADO(ShipperInsertReq req) { Shippers ship = new Shippers(); ship.CompanyName = req.CompanyName; ship.Phone = req.Phone; return(_rep.InsertShippADO(ship)); }