using DigitalData.Core.Abstraction.Application.Repository;
using DigitalData.UserManager.Domain.Entities;

namespace DigitalData.UserManager.Application.Contracts.Repositories;

[Obsolete("Use IRepository")]
public interface IUserRepRepository : ICRUDRepository<UserRep, int>
{
    Task<IEnumerable<UserRep>> ReadAllAsync(
        bool withUser = false, bool withRepGroup = false, bool withGroup = false, bool withRepUser = false,
        int? userId = null, int? repUserId = null, int? groupId = null, int? repGroupId = null, bool readOnly = true);
}