Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
hlaueriksson committed Sep 23, 2018
1 parent 7fde21c commit f6ac7ea
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
Expand Up @@ -26,12 +26,12 @@ public static void Register(HttpConfiguration config)

config.DependencyResolver = new CommandQueryDependencyResolver(services);

// Web API routes
config.MapHttpAttributeRoutes(new CommandQueryDirectRouteProvider());

// Json
config.Formatters.Clear();
config.Formatters.Add(new JsonMediaTypeFormatter());

// Web API routes
config.MapHttpAttributeRoutes(new CommandQueryDirectRouteProvider());
}
}
}
@@ -1,6 +1,5 @@
#if NETCOREAPP2_0
using Amazon.Lambda.APIGatewayEvents;
using CommandQuery.AWSLambda;
using Machine.Specifications;
using Newtonsoft.Json;

Expand Down
@@ -1,6 +1,5 @@
#if NETCOREAPP2_0
using System.Net.Http;
using CommandQuery.AspNetCore;
using Machine.Specifications;

namespace CommandQuery.Sample.Specs.AspNetCore.Controllers
Expand Down
@@ -1,5 +1,4 @@
#if NETCOREAPP2_0
using CommandQuery.AzureFunctions;
using Machine.Specifications;
using Microsoft.AspNetCore.Mvc;

Expand Down

0 comments on commit f6ac7ea

Please sign in to comment.