Ejemplo n.º 1
0
        /// <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);
        }