Exemplo n.º 1
0
 public static void Run()
 {
     // Configure Autofac
     AutofacWebapiConfig.Initialize(GlobalConfiguration.Configuration);
     //Configure AutoMapper
     AutoMapperConfiguration.Configure();
 }
 public static void Run()
 {
     // Serilog
     SerilogConfiguration.CreateLogger();
     // Configure Autofac
     AutofacWebapiConfig.Initialize(GlobalConfiguration.Configuration);
     // Configure AutoMapper
     AutoMapperConfiguration.Configure();
 }