private async Task <bool> PublishServiceCompleteAndDeleteTruck(ServiceRequest shipService, Truck truck) { await _messagePublisher.PublishMessageAsync(MessageTypes.ServiceCompleted, shipService); await _truckRepository.DeleteTruckAsync(truck.LicensePlate); return(true); }