Here we have created a CommonVariables static class to retrieve session information using its static methods. Here we have named over custom action filter attribute as CheckAccess so apply it on ...
Dapper is a NuGet library that you can add in to your project that will extend your IDbConnection interface.