I have a School management system built in ASP.NET Core 2.0 MVC that each school has a user (it is a single application deploy and multi user).
However each school has it your own way to calculate student grades. It it's not a simple average, sometimes there some conditionals and some simple logic. Our product is applied in South America, each school has its own grade process.
In our previous system we used to use a DB Registry containing a PHP code that is easily evaluated as a PHP logic that calculates the grades and, sometimes, adds a custom element in the rendered page.
I'm looking for something that can make me achieve the similar results using our new ASP.NET MVC Core 2.0 App. Once C# is compiled do MSIL Instead of a JIT code like php.
How can I evaluate a custom logic based on a string ? Is that possible in C#?