Exemplo n.º 1
0
        public void EndWorkingDay(Vehicle vehicle)
        {
            _packageService.ChangeShippingPackagesStateToAwaitingPickup(vehicle.CourierPackingList);

            _notificationsService.NotifyPackageDelivery(vehicle.CourierPackingList);

            _packageService.ChangePackagesState(vehicle.CourierPackingList, Package.PackageState.Delivered);

            _packingListService.CalculateCourierRatingForPackingList(vehicle);
        }