Beispiel #1
0
 public void TestMethod1()
 {
     List <Vin> vins = db.Get <Vin>();
 }
Beispiel #2
0
        public object Vin(string vin)
        {
            Vin _vin = db.Get <Vin>().FirstOrDefault(v => v.VIN == vin);

            return(new { code = 200, result = new { carMake = _vin.ModelYear.Model.Make.Name, carModel = _vin.ModelYear.Model.Name } });
        }