using System.Collections.Generic; using System.Threading.Tasks; using System.Web.Mvc; using Abp.Application.Services.Dto; using ShwasherSys.BaseSysInfo.Roles.Dto; using ShwasherSys.BaseSysInfo.Users.Dto; using IwbZero.AppServiceBase; namespace ShwasherSys.BaseSysInfo.Users { public interface IUsersAppService : IIwbAsyncCrudAppService { List GetUserTypeSelect(); Task GetUserByIdAsync(long userId); Task> GetAllPermissions(); Task> GetRoles(); List GetRoleSelects(); Task> GetAllUser(PagedRequestDto input); Task Auth(AuthDto input); Task ResetPassword(EntityDto input); Task GetUserRoles(long userId); Task IsGrantedOnlyUserAsync(long userId, string permissionNmae); } }