using Domain.Entities; using Domain.Generics; using Models.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Models.Interfaces { public interface IPhSCustomerRepository { Task AddAsync(ECustomer entity); Task DeleteAsync(int id); Task> GetAllAsync(int page = 1, int pageSize = 50); Task GetByIdAsync(int id); Task> SearchAsync( string? name, string? email, string? document, int page, int pageSize); Task UpdateAsync(ECustomer entity); } }