From 356c47fb0ea1a642784e85c82833141d065bc4bc Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期二, 05 八月 2025 09:22:25 +0800 Subject: [PATCH] feat:动态控制器开发 --- FlexJobApi.Core/Models/User/Roles/Commands/DeleteRoleCommand.cs | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/FlexJobApi.Core/Models/User/Roles/Commands/DeleteRoleCommand.cs b/FlexJobApi.Core/Models/User/Roles/Commands/DeleteRoleCommand.cs index 1aafd0f..98a987c 100644 --- a/FlexJobApi.Core/Models/User/Roles/Commands/DeleteRoleCommand.cs +++ b/FlexJobApi.Core/Models/User/Roles/Commands/DeleteRoleCommand.cs @@ -1,12 +1,18 @@ -锘縰sing System; +锘縰sing MediatR; +using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -namespace FlexJobApi.Core.Models.User.Roles.Commands +namespace FlexJobApi.Core { - internal class DeleteRoleCommand + /// <summary> + /// 鍒犻櫎瑙掕壊 + /// </summary> + [Resource([EnumResourceController.Role])] + public class DeleteRoleCommand : DeleteCommand, IRequest<int> { + } } -- Gitblit v1.9.1