naming
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// src/Webshop.Domain/Interfaces/ICategoryRepository.cs
|
||||
// src/Webshop.Domain/Interfaces/IcategorieRepository.cs
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
@@ -6,13 +6,13 @@ using Webshop.Domain.Entities;
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
public interface ICategoryRepository
|
||||
public interface IcategorieRepository
|
||||
{
|
||||
Task<IEnumerable<Category>> GetAllAsync();
|
||||
Task<Category?> GetByIdAsync(Guid id);
|
||||
Task<Category?> GetBySlugAsync(string slug);
|
||||
Task AddAsync(Category category);
|
||||
Task UpdateAsync(Category category);
|
||||
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