naming
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// src/Webshop.Application/Services/Admin/IAdmincategorieservice.cs
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Application.DTOs.categories;
|
||||
|
||||
namespace Webshop.Application.Services.Admin
|
||||
{
|
||||
public interface IAdminCategorieService
|
||||
{
|
||||
Task<IEnumerable<categorieDto>> GetAllAsync();
|
||||
Task<categorieDto?> GetByIdAsync(Guid id);
|
||||
Task<(categorieDto? Createdcategorie, string? ErrorMessage)> CreateAsync(CreatecategorieDto categorieDto);
|
||||
Task<(bool Success, string? ErrorMessage)> UpdateAsync(Guid id, CreatecategorieDto categorieDto);
|
||||
Task<bool> DeleteAsync(Guid id);
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
// src/Webshop.Application/Services/Admin/IAdminCategoryService.cs
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Application.DTOs.Categorys;
|
||||
|
||||
namespace Webshop.Application.Services.Admin
|
||||
{
|
||||
public interface IAdminCategoryService
|
||||
{
|
||||
Task<IEnumerable<CategoryDto>> GetAllAsync();
|
||||
Task<CategoryDto?> GetByIdAsync(Guid id);
|
||||
Task<(CategoryDto? CreatedCategory, string? ErrorMessage)> CreateAsync(CreateCategoryDto categoryDto);
|
||||
Task<(bool Success, string? ErrorMessage)> UpdateAsync(Guid id, CreateCategoryDto categoryDto);
|
||||
Task<bool> DeleteAsync(Guid id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user