I created 2 car classes in consoleApp. Created 2 extension methods.
- GetVehicleMakeModel ( get car make + model )
- GetObjectType ( gets type of the object ) Called these extensions on console app.
Created a LoginFilter ( ActionFilter ). It is a simple autauthorization filter. Checks if use is admin or superAdmin.
- If so routes to HomeController-Index.
- If not routes to HomeController-Error.
Work in progress... 🤔