All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 5m23s
27 lines
698 B
C#
27 lines
698 B
C#
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<ECustomer> AddAsync(ECustomer entity);
|
|
Task<bool> DeleteAsync(int id);
|
|
Task<IEnumerable<ECustomer>> GetAllAsync();
|
|
Task<ECustomer?> GetByIdAsync(int id);
|
|
Task<PagedResult<ECustomer>> SearchAsync(
|
|
string? name,
|
|
string? email,
|
|
string? document,
|
|
int page,
|
|
int pageSize);
|
|
Task<bool> UpdateAsync(ECustomer entity);
|
|
}
|
|
}
|