Files
Examples/GerstITS.Examples.Api/Module.ExceptionHandling.cs
2022-12-22 15:29:53 +01:00

17 lines
444 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
}