Initial API setup and basic program functioning
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using Emergence.services.Interface;
|
||||
using Emergence.services.Services;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Emergence.services.Extensions
|
||||
{
|
||||
public static class ServiceBuilderExtension
|
||||
{
|
||||
public static IServiceCollection AddServices(this IServiceCollection services)
|
||||
{
|
||||
services = services.AddTransient<IUserService, UserService>();
|
||||
|
||||
return services;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user