public void Update()
        {
            var updatedDeliveryMen = ServiceWrap.GetDeliveryMens()
                                     .Where(dlm => dlm.Id == Id).FirstOrDefault();

            Name       = updatedDeliveryMen.Name;
            Location   = updatedDeliveryMen.Location;
            Deliveries = updatedDeliveryMen.Deliveries;
        }
        public void Save()
        {
            var takenDeliveries = ServiceWrap.GetDeliveryMens()
                                  .Where(dlm => dlm.Id == Id)
                                  .FirstOrDefault()
                                  .Deliveries;

            var nwDeliveries = Deliveries.Except(takenDeliveries).ToList();

            foreach (var deliv in nwDeliveries)
            {
                ServiceWrap.TakeDelivery(Id, deliv.Id);
            }
        }
 public void Update()
 {
     deliveryMens = ServiceWrap.GetDeliveryMens();
     Updated?.Invoke(this, new ListModelEventArgs <IEventModel>(this));
 }