All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 2m58s
21 lines
590 B
C#
21 lines
590 B
C#
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);
|
|
}
|
|
}
|