public void Before() { var formatter = new RazorViewFormatter(); var config = new HttpConfiguration(); config.Formatters.Add(formatter); _request = new HttpRequestMessage(); _request.SetConfiguration(config); _request.RegisterForDispose(config); }
public void Before() { var formatter = new RazorViewFormatter(); var config = new HttpConfiguration(); config.Formatters.Add(formatter); _request = new HttpRequestMessage(); _request.SetConfiguration(config); _request.RegisterForDispose(config); }