cnf
2025-08-27 65a2e96d657c7a3b6e0da2af6d223bd765476c0b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using Gs.Toolbox.ApiCore.Common.Mvc;
using Microsoft.Extensions.DependencyInjection;
 
namespace Gs.Toolbox.ApiCore.Extensions;
 
public static class IServiceCollectionExtension
{
    public static void AddCustomConvention(this IServiceCollection services)
    {
        services.AddMvc(options =>
        {
            options.Conventions.Add(new CustomApplicationModelConvention());
        });
    }
}