using Microsoft.AspNet.Mvc; namespace MVCMovie { public class Startup { public void ConfigureServices(IServiceCollection services) { services.Configure(options => { options.MaxModelValidationErrors = 50; }); } } }