using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfApp1.model
{
    class Globals
    {
        public static IDataProvider dataProvider;
        IEnumerable<Namecar> getNamecar()
        {
            return new Namecar[] {
                new Namecar { title = "Toyota Trueno AE8"},
                new Namecar { title = "Toyota Supra A80"},
                new Namecar { title = "Nissal Skyline R34" },
                new Namecar { title = "Nissan Silvia S15"},
                new Namecar { title = "Toyota Camry 3.5"},
                new Namecar { title = "Audi RS 6" },
                new Namecar { title = "Трактор LOVOL TE354 HT"},
                new Namecar { title = "BMW M5 F90"},
                new Namecar { title = "BMW E36" },
                new Namecar { title = "Daewoo Matiz" }
            };
        }
        IEnumerable<Carsprice> getCarsprice()
        {
            return new Carsprice[] {
                new Carsprice{title="Малая цена", priceFrom=0, priceTo=15001},
                new Carsprice{title="Средняя цена", priceFrom = 20000, priceTo=35000},
                new Carsprice{title="Высокая цена", priceFrom = 35001, priceTo=70000},
            };
        }
    }
}