/// <summary> /// Configures the services. /// </summary> /// <param name="services">The services.</param> public void ConfigureServices(IServiceCollection services) { services.Configure <AppSettingsConfig>(Configuration.GetSection(Constants.CROWE_EXERCISE_SETTINGS)); services.AddAutoMapper(typeof(AutoMapperConfig)); services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2); DependencyConfig.ConfigureServices(services, Configuration); }