diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-01-30 11:31:21 +0200 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-01-30 11:31:21 +0200 |
| commit | ff91162eb83dcf19402240ae8fa06f70cbf2b9e0 (patch) | |
| tree | 2948559f7326c8221f799d4aaf794c5e00c06bd9 /src/DevHive.Web/Configurations/Extensions | |
| parent | dde27f48caf455f9b342d68b0a4a5c95f302b9f7 (diff) | |
| download | DevHive-ff91162eb83dcf19402240ae8fa06f70cbf2b9e0.tar DevHive-ff91162eb83dcf19402240ae8fa06f70cbf2b9e0.tar.gz DevHive-ff91162eb83dcf19402240ae8fa06f70cbf2b9e0.zip | |
Separated comment models, controler and service from post's
Diffstat (limited to 'src/DevHive.Web/Configurations/Extensions')
| -rw-r--r-- | src/DevHive.Web/Configurations/Extensions/ConfigureDependencyInjection.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DevHive.Web/Configurations/Extensions/ConfigureDependencyInjection.cs b/src/DevHive.Web/Configurations/Extensions/ConfigureDependencyInjection.cs index fe2c788..8ba0d69 100644 --- a/src/DevHive.Web/Configurations/Extensions/ConfigureDependencyInjection.cs +++ b/src/DevHive.Web/Configurations/Extensions/ConfigureDependencyInjection.cs @@ -1,5 +1,4 @@ using DevHive.Data.Interfaces.Repositories; -using DevHive.Data.Models; using DevHive.Data.Repositories; using DevHive.Services.Interfaces; using DevHive.Services.Services; @@ -8,7 +7,7 @@ using Microsoft.Extensions.DependencyInjection; namespace DevHive.Web.Configurations.Extensions { - public static class ConfigureDependencyInjection + public static class ConfigureDependencyInjection { public static void DependencyInjectionConfiguration(this IServiceCollection services, IConfiguration configuration) { @@ -25,6 +24,7 @@ namespace DevHive.Web.Configurations.Extensions services.AddTransient<ITechnologyService, TechnologyService>(); services.AddTransient<IUserService, UserService>(); services.AddTransient<IPostService, PostService>(); + services.AddTransient<ICommentService, CommentService>(); services.AddTransient<IFeedService, FeedService>(); services.AddTransient<ICloudService, CloudinaryService>(options => new CloudinaryService( |
