All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 2m21s
15 lines
434 B
C#
15 lines
434 B
C#
using Domain.Entities;
|
|
|
|
namespace Core.Interfaces
|
|
{
|
|
public interface IBusinessUnitDom
|
|
{
|
|
Task<IEnumerable<EBusinessUnit>> GetAllAsync();
|
|
Task<EBusinessUnit?> GetByIdAsync(int id);
|
|
Task<IEnumerable<EBusinessUnit>> SearchAsync(string term);
|
|
Task<EBusinessUnit> CreateAsync(EBusinessUnit unit);
|
|
Task<bool> UpdateAsync(EBusinessUnit unit);
|
|
Task<bool> DeleteAsync(int id);
|
|
}
|
|
}
|