naming
This commit is contained in:
18
Webshop.Domain/Interfaces/ICategorieRepository.cs
Normal file
18
Webshop.Domain/Interfaces/ICategorieRepository.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
// src/Webshop.Domain/Interfaces/IcategorieRepository.cs
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Domain.Entities;
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
public interface IcategorieRepository
|
||||
{
|
||||
Task<IEnumerable<categorie>> GetAllAsync();
|
||||
Task<categorie?> GetByIdAsync(Guid id);
|
||||
Task<categorie?> GetBySlugAsync(string slug);
|
||||
Task AddAsync(categorie categorie);
|
||||
Task UpdateAsync(categorie categorie);
|
||||
Task DeleteAsync(Guid id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user