Ejemplo n.º 1
0
        public SingleRsp UpdateShipper(ShipperReq req)
        {
            var      res = new SingleRsp();
            Shippers obj = new Shippers();

            obj.ShipperId   = req.ShipperId;
            obj.CompanyName = req.CompanyName;
            obj.Phone       = req.Phone;

            res      = _rep.UpdateShipper(obj);
            res.Data = obj;
            return(res);
        }
Ejemplo n.º 2
0
        public IActionResult UpdateShipper(ShipperReq req)
        {
            var res = _svc.UpdateShipper(req);

            return(Ok(res));
        }