using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_DTO.System; using WIDESEA_Core; using WIDESEA_Core.BaseServices; using WIDESEA_Model.Models; using WIDESEA_Model.Models.System; using WIDESEA_ISystemRepository; namespace WIDESEA_ISystemService { public interface ISys_RoleService : IService { ISys_RoleRepository Repository { get; } List GetAllChildren(int roleId); WebResponseContent GetCurrentTreePermission(); WebResponseContent GetCurrentTreePermissionPDA(); WebResponseContent GetUserTreePermission(int role_Id); WebResponseContent GetUserTreePermissionPDA(int roleId); WebResponseContent SavePermission(List userPermissions, int roleId); WebResponseContent SavePermissionPDA(List userPermissions, int roleId); } }