public static void Setup(TestContext context)
        {
            var profileLoader = new StaticProfileLoader(
                new Profile[]
            {
                new DocumentsProfile()
            });

            MapperConfig.Initialize(profileLoader);
        }
        public void Configuration(IAppBuilder appBuilder)
        {
            HttpConfiguration config = new HttpConfiguration();

            //webapi
            WebApiConfig.Register(config);
            appBuilder.UseWebApi(config);

            //Swagger
            SwaggerConfig.Register(config);

            //Automapper
            var profilesLoader = new StaticProfileLoader(new Profile[] {
                new Presentation.API.MapperProfiles.DocumentsProfile(),
                new Application.Services.MapperProfiles.DocumentProfile()
            });

            MapperConfig.Initialize(profilesLoader);
        }