Use enum classes instead of enum in ASP.Net Core

enumeration classes in .net core

Use enum classes instead of enum in ASP.Net Core, I believe that people often encounter various state values when writing code, and in order to avoid hard coding and magic numbers in the code.