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