From 404e67df29a245b54ecb5e036ad2ae9eae50b815 Mon Sep 17 00:00:00 2001 From: Muhammad Azeez Date: Mon, 18 Jan 2021 23:46:44 +0300 Subject: [PATCH] fix vehicle type inconsistency --- CSharp/TaxApp/Pages/Index.cshtml.cs | 6 +++--- CSharp/TrafficPoliceApi/Data/ApplicationDbContext.cs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CSharp/TaxApp/Pages/Index.cshtml.cs b/CSharp/TaxApp/Pages/Index.cshtml.cs index ab9560a..44913d4 100644 --- a/CSharp/TaxApp/Pages/Index.cshtml.cs +++ b/CSharp/TaxApp/Pages/Index.cshtml.cs @@ -11,9 +11,9 @@ namespace OidcSamples.TaxApp.Pages { public enum VehicleType { - Sedan = 0, - SUV = 1, - Pickup = 2 + Sedan = 1, + SUV = 2, + Pickup = 3 } public class Vehicle diff --git a/CSharp/TrafficPoliceApi/Data/ApplicationDbContext.cs b/CSharp/TrafficPoliceApi/Data/ApplicationDbContext.cs index 69ddafd..2fc40c8 100644 --- a/CSharp/TrafficPoliceApi/Data/ApplicationDbContext.cs +++ b/CSharp/TrafficPoliceApi/Data/ApplicationDbContext.cs @@ -16,9 +16,9 @@ namespace OidcSamples.TrafficPoliceApi.Data public enum VehicleType { - Sedan = 0, - SUV = 1, - Pickup = 2 + Sedan = 1, + SUV = 2, + Pickup = 3 } public class Vehicle