//using FlexJobApi.Core;
//using Furion.DynamicApiController;
//using MediatR;
//using Microsoft.AspNetCore.Mvc;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//using static Microsoft.EntityFrameworkCore.DbLoggerCategory;
//namespace FlexJobApi.User.Application
//{
// ///
// /// 角色
// ///
// [Route("api/user/[controller]")]
// public class RoleAppService(IMediator mediator) : IDynamicApiController
// {
// private readonly IMediator mediator = mediator;
// #region 查询
// ///
// /// 查询角色列表
// ///
// ///
// ///
// [HttpPost]
// public Task> GetRoles([FromBody] GetRolesQuery query)
// {
// return mediator.Send(query);
// }
// ///
// /// 查询角色详情
// ///
// ///
// ///
// public Task GetRole(GetRoleQuery query)
// {
// return mediator.Send(query);
// }
// #endregion
// #region 写入
// ///
// /// 删除角色
// ///
// ///
// ///
// public Task DeleteRole(DeleteRoleCommand command)
// {
// return mediator.Send(command);
// }
// ///
// /// 保存角色
// ///
// ///
// ///
// public Task SaveRole(SaveRoleCommand command)
// {
// return mediator.Send(command);
// }
// #endregion
// }
//}