using Domain.Entities; namespace Service.UserManagement.User; /// /// Defines operations for retrieving and updating user accounts. /// public interface IUserService { /// /// Retrieves all user accounts, optionally paginated. /// /// The maximum number of results to return, or null for no limit. /// The number of results to skip, or null to start from the beginning. /// A collection of entities. Task> GetAllAsync( int? limit = null, int? offset = null ); /// /// Retrieves a user account by its unique identifier. /// /// The unique identifier of the user account. /// The matching . Task GetByIdAsync(Guid id); /// /// Updates an existing user account. /// /// The user account containing the updated data. /// A task that completes once the update has finished. Task UpdateAsync(UserAccount userAccount); }