Files
Yi.Admin/Yi.Framework.Net6/test/Yi.Framework.Application/YiFrameworkApplicationModule.cs

27 lines
740 B
C#
Raw Normal View History

using Microsoft.AspNetCore.Builder;
2023-01-11 11:10:59 +08:00
using Microsoft.Extensions.DependencyInjection;
using StartupModules;
2023-01-11 11:10:59 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2023-01-12 14:58:16 +08:00
using Yi.Framework.Application.Contracts.Student;
using Yi.Framework.Application.Student;
2023-01-11 11:10:59 +08:00
2023-01-11 15:05:31 +08:00
namespace Yi.Framework.Application
2023-01-11 11:10:59 +08:00
{
public class YiFrameworkApplicationModule : IStartupModule
2023-01-11 11:10:59 +08:00
{
public void Configure(IApplicationBuilder app, ConfigureMiddlewareContext context)
2023-01-11 11:10:59 +08:00
{
2023-01-11 11:10:59 +08:00
}
public void ConfigureServices(IServiceCollection services, ConfigureServicesContext context)
2023-01-11 11:10:59 +08:00
{
services.AddTransient<IStudentService, StudentService>();
2023-01-11 11:10:59 +08:00
}
}
}