Use file scoped namepace
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user