using Core.DataAccess;
using Entities.Concrete;
using Entities.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace DataAccess.Abstract
{
    public interface IAracIlanDal : IEntityRepository<Ilan>
    {
        Task<AracIlanDto?> GetIlanDetailById(int id);
        Task<List<AracIlanDto>> GetSearchIlanDetails(string search);
        Task<List<AracIlanDto>> GetAllIlanDetails(Expression<Func<Ilan, bool>>? expr = null, Expression<Func<Arac, bool>>? exprArac = null);
    }
}
