示例#1
0
 public Response <bool> UpdateShipper(string id, ShipperData sd)
 {
     int.TryParse(id, out int sid);
     return(this.ShipperService.UpdateShipper(sid, sd.name, sd.phone));
 }
示例#2
0
 public Response <bool> AddShipper(ShipperData sd)
 {
     return(this.ShipperService.AddShipper(sd.name, sd.phone));
 }