private ShipmentState InsertShipmentState(Guid ShipmentKey, ShipmentStatus status)
        {

            var shipmentState = new ShipmentState
            {
                Key = Guid.NewGuid(),
                ShipmentKey = ShipmentKey,
                ShipmentStatus = status,
                CreatedOn = DateTime.Now
            };

            _shipmentStateRepository.Add(shipmentState);
            _shipmentStateRepository.Save();

            return shipmentState;
        }
            private static ShipmentState InsertShipmentState(Guid ShipmentKey, ShipmentStatus status) {

                var shipmentState = new ShipmentState {
                    Key = Guid.NewGuid(),
                    ShipmentKey = ShipmentKey,
                    ShipmentStatus = status,
                    CreatedOn = DateTime.Now
                };

                return shipmentState;
            }