using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Traffic.Data.Models; using Traffic.Data.ViewModels; namespace Traffic.Service.Interfaces { public interface IRoleService { public TradeResultModel PostRoleDataList(int byWho, RoleData roleData); public PageViewModel> GetRoleDataList(SearchModel searchModel); public IEnumerable GetRoleInfoList(); public List GetRolePermissionInfo(int? roleId); public List GetAllPagePermission(int roleId); public bool PutPageRoleStatus(PagePermissionData pagePermission); } }