c# open form from program.cs code example Example: how to update modal class using dbfirst in asp.net core Update DbContext