public bool TryToFindClient(string i_LicenseNum, out ClientCard o_Client) { bool isFound = Clients.TryGetValue(i_LicenseNum, out o_Client); return(isFound); }
public void ChangeVehicleStatus(ClientCard i_ClientToChange, eVehicleStat i_StatusToSet) { VehicleStatus[i_ClientToChange.Status].Remove(i_ClientToChange.VehicleInGarage.LicenseNum); VehicleStatus[i_StatusToSet].Add(i_ClientToChange.VehicleInGarage.LicenseNum); i_ClientToChange.Status = i_StatusToSet; }