/// <summary> /// Find the name of an engine from a car's EngineId /// </summary> /// <param name="engineId">The id of a car's engine you want the name of</param> /// <returns>Returns the name of the engine as a string</returns> public string GetEngineName(int engineId) { EngineBusiness engineBusiness = new EngineBusiness(); var engine = engineBusiness.GetEngineById(engineId); return(engine.Name); }