public int getMaxId() { return(CargoHandler.GetMaxId()); }
public List <Cargo> getCargoes() { return(CargoHandler.GetCargoes()); }
public void updateCargo(int cargoId, double weight) { CargoHandler.UpdateCargo(cargoId, weight); }
public Cargo getCargo(int cargoId) { return(CargoHandler.GetCargo(cargoId)); }
public void insertCargo(double weight) { CargoHandler.InsertCargo(weight); }
public CargoController(ICargoRepository repository, CargoHandler handler) { _repository = repository; _handler = handler; }