mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-21 08:56:41 +08:00
添加模块化功能+动态api
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Ddd.Repository
|
||||
{
|
||||
public interface IRepository<T>
|
||||
{
|
||||
Task<T> GetByIdAsync(dynamic id);
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,8 @@
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Yi.Framework.Core\Yi.Framework.Core.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -9,16 +9,14 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Ddd
|
||||
{
|
||||
public class YiFrameworkModule : IStartupModule
|
||||
public class YiFrameworkDddModule:IStartupModule
|
||||
{
|
||||
public void Configure(IApplicationBuilder app, ConfigureMiddlewareContext context)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void ConfigureServices(IServiceCollection services, ConfigureServicesContext context)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user