using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IoTIntegrationPlatform.Model.common;
using IoTIntegrationPlatform.Model.Model;
namespace IoTIntegrationPlatform.Interface
{
public interface IAdminService
{
///
/// 获取角色信息
///
///
///
AdminRole GetRoleInfo(BaseParm parm);
///
/// 获取角色列表
///
///
///
///
List GetRoleList(BaseParm parm, ref int page);
///
/// 添加管理-角色
///
///
///
bool AddRole(AdminRole model);
///
/// 编辑管理-角色
///
///
///
bool UpdateRole(AdminRole model);
///
/// 删除管理-角色
///
///
///
bool DeleteRole(BaseParm parm);
///
/// 获取菜单信息
///
///
///
AdminMenu GetMenuInfo(BaseParm parm);
///
/// 获取菜单列表
///
///
///
///
List GetMenuList(BaseParm parm, ref int page);
///
/// 添加管理-菜单
///
///
///
bool AddMenu(AdminMenu model);
///
/// 编辑管理-菜单
///
///
///
bool UpdateMenu(AdminMenu model);
///
/// 删除管理-菜单
///
///
///
bool DeleteMenu(BaseParm parm);
///
/// 获取菜单权限列表
///
///
List GetPowerMenuList();
///
/// 获取角色菜单列表
///
///
///
List GetRoleMenuList(BaseParm parm);
///
/// 后台管理-编辑角色菜单权限
///
///
///
///
bool UpdateRoleMenu(BaseParm parm, List list);
///
/// 获取用户角色列表
///
///
///
List GetUserRoleList(BaseParm parm);
///
/// 后台管理-编辑用户角色
///
///
///
///
bool UpdateUserRole(BaseParm parm, List list);
}
}