Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Web / DevHive.Web / Configurations / Extensions / ConfigureAutoMapper.cs
diff options
context:
space:
mode:
Commit4c03712af14c37718b7be5b23fcadeb86f2a2191 (patch)
Author
 transtrike <transtrike@gmail.com>
2021-02-15 19:06:14 +0200
Committer
 transtrike <transtrike@gmail.com>
2021-02-15 19:06:14 +0200
Files0c6b5a592244e5b2574afa9e4919d4a3111eea34 /src/Web/DevHive.Web/Configurations/Extensions/ConfigureAutoMapper.cs
DevHive-4c03712af14c37718b7be5b23fcadeb86f2a2191.tar
DevHive-4c03712af14c37718b7be5b23fcadeb86f2a2191.tar.gz
DevHive-4c03712af14c37718b7be5b23fcadeb86f2a2191.zip
Parent09fc4603e82f69c926f9457085aa3fa48bb3939c (diff)
Code Analyzer added to all csproj; Removed unnessessary code; Fixed formatting
1 files changed, 2 insertions, 3 deletions
-rw-r--r--src/Web/DevHive.Web/Configurations/Extensions/ConfigureAutoMapper.cs5
diff --git a/src/Web/DevHive.Web/Configurations/Extensions/ConfigureAutoMapper.cs b/src/Web/DevHive.Web/Configurations/Extensions/ConfigureAutoMapper.cs
index 8b7d657..0b8194e 100644
--- a/src/Web/DevHive.Web/Configurations/Extensions/ConfigureAutoMapper.cs
+++ b/src/Web/DevHive.Web/Configurations/Extensions/ConfigureAutoMapper.cs
@@ -1,6 +1,5 @@
using System;
using AutoMapper;
-//using AutoMapper.Configuration;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
@@ -15,10 +14,10 @@ namespace DevHive.Web.Configurations.Extensions
public static void UseAutoMapperConfiguration(this IApplicationBuilder app)
{
- var config = new MapperConfiguration(cfg =>
+ _ = new MapperConfiguration(cfg =>
{
cfg.AllowNullCollections = true;
});
}
}
-} \ No newline at end of file
+}