/// <summary>
 /// Get instance for Web API
 /// </summary>
 /// <param name="type">type of service</param>
 /// <returns></returns>
 public static IEnumerable GetApiInstances(System.Type type)
 {
     return(WebApiResolver.GetServices(type));
 }
 /// <summary>
 /// Get instance for Web API
 /// </summary>
 /// <param name="type">type of service</param>
 /// <returns></returns>
 public static object GetApiInstance(System.Type type)
 {
     return(WebApiResolver.GetService(type));
 }