using DigitalData.UserManager.Application.DTOs.UserRep;
using DigitalData.UserManager.Domain.Entities;
using DigitalData.Core.Abstraction.Application.DTO;

namespace DigitalData.UserManager.Application.Contracts
{
    [Obsolete("Use MediatR")]
    public interface IUserRepService : IBaseService<UserRepCreateDto, UserRepReadDto, UserRep>
    {
        Task<DataResult<IEnumerable<UserRepReadDto>>> ReadAllAsync(bool withUser = false, bool withRepGroup = false, bool withGroup = false, bool withRepUser = false, int? userId = null, int? groupId = null);
    }
}