You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using EntrustSettle.IRepository;
|
|
|
|
|
using EntrustSettle.IServices;
|
|
|
|
|
using EntrustSettle.Model.Models;
|
|
|
|
|
using EntrustSettle.Services.Base;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace EntrustSettle.Services
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// RoleModulePermissionServices 应用服务
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class RoleModulePermissionServices : BaseServices<RoleModulePermission>, IRoleModulePermissionServices
|
|
|
|
|
{
|
|
|
|
|
readonly IRoleModulePermissionRepository _dal;
|
|
|
|
|
|
|
|
|
|
// 将多个仓储接口注入
|
|
|
|
|
public RoleModulePermissionServices(
|
|
|
|
|
IRoleModulePermissionRepository dal)
|
|
|
|
|
{
|
|
|
|
|
this._dal = dal;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public async Task<List<RoleModulePermission>> RoleModuleMaps()
|
|
|
|
|
{
|
|
|
|
|
return await _dal.RoleModuleMaps();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|