16 lines
329 B
C#
16 lines
329 B
C#
|
using Microsoft.AspNet.Mvc;
|
|||
|
|
|||
|
namespace MVCMovie
|
|||
|
{
|
|||
|
public class Startup
|
|||
|
{
|
|||
|
public void ConfigureServices(IServiceCollection services)
|
|||
|
{
|
|||
|
services.Configure<MvcOptions>(options =>
|
|||
|
{
|
|||
|
options.MaxModelValidationErrors = 50;
|
|||
|
});
|
|||
|
}
|
|||
|
}
|
|||
|
}
|