Use file scoped namepace

This commit is contained in:
2022-12-22 15:29:53 +01:00
parent 27bf5f0b24
commit 6d7e447ccc
51 changed files with 886 additions and 937 deletions

View File

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