Beispiel #1
0
        private static Sku TestSku()
        {
            var make  = MakeHelper.Get();
            var model = ModelHelper.Get();

            return(new Sku
            {
                Id = IdentifierHelper.SkuId,
                MakeId = make.ExternalId,
                ModelId = model.ExternalId,
                Year = 2016,
                Color = "Black"
            });
        }
        private static Vehicle TestVehicle()
        {
            var make  = MakeHelper.Get();
            var model = ModelHelper.Get();

            return(new Vehicle()
            {
                Id = IdentifierHelper.VehicleId,
                Color = "blue",
                IsRentToOwn = false,
                LocationId = IdentifierHelper.LocationId,
                MakeId = make.ExternalId,
                Make = make,
                ModelId = model.ExternalId,
                Model = model,
                Miles = 1000,
                Vin = "0XJ9TTYZ6N7M81234",
                Year = 2016
            });
        }