/// <summary> /// Performs complete request by checkin trip operation. /// </summary> internal void Complete() { AppServices.Save(Model); Vehicle.Checkin(); }
/// <summary> /// Checks in the vehicle. /// </summary> internal void Checkin() { IsAvailable = true; // Model.setMileage(Model.getMileage() + actualMileage); AppServices.Save(Model); }
/// <summary> /// Performs save model operation. /// </summary> protected virtual void Save() { AppServices.Save(Model); Confirmation(); IsNew = false; }
/// <summary> /// Checks out the vehicle. /// </summary> internal void Checkout() { IsAvailable = false; AppServices.Save(Model); }