Files
Examples/GerstITS.Examples.Api/Module.ExceptionHandling.cs
2021-06-15 10:59:47 +02:00

18 lines
482 B
C#

using GerstITS.Examples.Api.ExceptionHandling;
using GerstITS.Web.Api.ExceptionHandling.Extensions;
using Microsoft.Extensions.DependencyInjection;
namespace GerstITS.Examples.Api
{
public sealed partial class Module
{
#region Methods
private static void RegisterExceptionHandling(IServiceCollection container)
{
container.RegisterExceptionTransformationsOf<ValidationExceptionTransformation>();
}
#endregion
}
}