Add entries controller
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using Diary.Component.Entries.Repository;
|
||||
using Diary.Component.Entries.Service;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -10,6 +12,11 @@ namespace Diary.Installers
|
||||
{
|
||||
public static IServiceCollection AddDependencies(this IServiceCollection services)
|
||||
{
|
||||
|
||||
|
||||
services.AddScoped<IEntryService, EntryService>();
|
||||
services.AddScoped<IEntryRepository, EntryRepository>();
|
||||
|
||||
return services;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user