public static object GetControllerFor <TContract>() { var viewType = typeof(TContract); var result = Controllers.GetControllerFor(viewType); return(result); }