phronCare/Core/Interfaces/ICustomerDom.cs
Leandro Hernan Rojas f15b3b159c
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 2m58s
Add CustomerService in API
2025-04-04 14:58:44 -03:00

21 lines
559 B
C#

using Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.Interfaces
{
public interface ICustomerDom
{
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);
}
}