TheAirline.Models.Routes.PassengerRoute.GetFarePrice C# (CSharp) Method

GetFarePrice() public method

public GetFarePrice ( AirlinerClass type ) : double
type TheAirline.Models.Airliners.AirlinerClass
return double
        public double GetFarePrice(AirlinerClass.ClassType type)
        {
            return Classes.Find(c => c.Type == type).FarePrice;
        }