phronCare/Models/Interfaces/IPhSCustomerRepository.cs

21 lines
590 B
C#
Raw Normal View History

2025-04-04 14:58:44 -03:00
using Domain.Entities;
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<ECustomer> AddAsync(ECustomer entity);
Task<bool> DeleteAsync(int id);
Task<IEnumerable<ECustomer>> GetAllAsync();
Task<ECustomer?> GetByIdAsync(int id);
Task<IEnumerable<ECustomer>> SearchAsync(string? name, string? email, string? document);
Task<bool> UpdateAsync(ECustomer entity);
}
}