Im trying to do a WPF/EFCORE application but get an error caused by the type initializer exception - C#