using DigitalData.UserManager.Application.DTOs.User; using DigitalData.UserManager.Domain.Entities; using DigitalData.Core.DTO; namespace DigitalData.UserManager.Application.Contracts { public interface IUserService : IBaseService { Task>> ReadByModuleIdAsync(int moduleId); Task>> ReadUnassignedByModuleIdAsync(int moduleId); Task>> ReadByGroupIdAsync(int groupId); Task>> ReadUnassignedByGroupIdAsync(int groupId); Task> CreateAsync(UserPrincipalDto upDto); Task> ReadByUsernameAsync(string username); } }