AspNetClassic.Geography.WebApiConfig.Register C# (CSharp) Method

Register() public static method

public static Register ( HttpConfiguration config ) : void
config HttpConfiguration
return void
        public static void Register(HttpConfiguration config)
        {
            // Web API configuration and services
            CustomerGeoContext.Init();

            config.MapODataServiceRoute("odata", "odata", EdmModelBuilder.BuildCustomerEdmModel());
        }
    }
WebApiConfig