添加启动页

This commit is contained in:
2025-07-26 11:20:03 +08:00
parent e292ea9da8
commit db419edde3
10 changed files with 249 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
namespace DMS.Application.Services;
public interface IInitializeService
{
/// <summary>
/// 初始化数据库表。
/// </summary>
void InitializeTables();
/// <summary>
/// 初始化数据库表索引。
/// </summary>
void InitializeTableIndex();
/// <summary>
/// 初始化默认菜单。
/// </summary>
void InitializeMenus();
}

View File

@@ -5,7 +5,7 @@ namespace DMS.Application.Services;
/// <summary>
/// 初始化服务,负责应用程序启动时的数据库和菜单初始化。
/// </summary>
public class InitializeService
public class InitializeService : IInitializeService
{
private readonly IInitializeRepository _repository;