public static void Register(HttpConfiguration config)
{ // Web API configuration and services
config.Filters.Add(new GeneralActionFilter());
config.Filters.Add(new GeneralExceptionFilterAttribute());
// Web API routes - Allows Actions to define a route via Attribute
config.MapHttpAttributeRoutes();
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{id}",
defaults: new { id = RouteParameter.Optional } );
}