All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 2m21s
14 lines
445 B
C#
14 lines
445 B
C#
using Domain.Entities;
|
|
|
|
namespace Models.Interfaces
|
|
{
|
|
public interface IPhSBusinessUnitRepository
|
|
{
|
|
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);
|
|
}
|
|
} |