How to call static method from ASP.NET MVC controller in C#
问题 GetMethod does not find public static method if called from ASP .NET MVC controller. (From console application it work OK). To solve this dummy SaveEntityGenericWrapper method is used. How to remove SaveEntityGenericWrapper from code ? Why GetMethod("SaveEntityGeneric") returns null but GetMethod("SaveEntityGenericWrapper") works if called from ASP .NET MVC 2 controller ? How to make SaveEntityGeneric private if partial trust is used in MVC2 ? public class EntityBase() { public void