基础服务api
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
797 B

  1. using BPA.SAAS.Manage.Application.Org.Dtos.Users;
  2. using BPA.SAAS.Manage.Core.Base;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace BPA.SAAS.Manage.Application.Org.Interface
  9. {
  10. public interface IUserService
  11. {
  12. Task<PageUtil> UserPage(UserDtoPageInput input);
  13. Task<bool> AddUser(UserDtoInput input);
  14. Task<bool> UpdateUser(UserDtoInput input);
  15. Task<bool> DeleteUser(List<string> input);
  16. Task<bool> Enable(string Id);
  17. Task<bool> Disable(string Id);
  18. Task<bool> ResetPwd(string Id);
  19. Task<bool> UpdatePwd(UserPwdDtoInput input);
  20. Task<UserRoleDtoInput> GetUserRole(string UserId);
  21. Task<bool> AddUserRole(UserRoleDtoInput input);
  22. }
  23. }