void Update() { foreach (var view in _views) { view.UpdateCanHire(_engineer.CanHire(view.Id)); } var engineerIds = _engineer.Available; if (NeedToUpdate(engineerIds)) { Hide(); var fullClients = _engineer.Get(engineerIds); Show(fullClients); } }
public float GetFixTime(EngineerId id) { return(_engineer.Get(id).FixTime); }