try
This commit is contained in:
14
Webshop.Domain/Interfaces/ICategoryRepository.cs
Normal file
14
Webshop.Domain/Interfaces/ICategoryRepository.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// Auto-generiert von CreateWebshopFiles.ps1
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Domain.Entities;
|
||||
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
public interface ICategoryRepository
|
||||
{
|
||||
// Fügen Sie hier Methodensignaturen hinzu
|
||||
}
|
||||
}
|
||||
14
Webshop.Domain/Interfaces/ICustomerRepository.cs
Normal file
14
Webshop.Domain/Interfaces/ICustomerRepository.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// Auto-generiert von CreateWebshopFiles.ps1
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Domain.Entities;
|
||||
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
public interface ICustomerRepository
|
||||
{
|
||||
// Fügen Sie hier Methodensignaturen hinzu
|
||||
}
|
||||
}
|
||||
14
Webshop.Domain/Interfaces/IDiscountRepository.cs
Normal file
14
Webshop.Domain/Interfaces/IDiscountRepository.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// Auto-generiert von CreateWebshopFiles.ps1
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Domain.Entities;
|
||||
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
public interface IDiscountRepository
|
||||
{
|
||||
// Fügen Sie hier Methodensignaturen hinzu
|
||||
}
|
||||
}
|
||||
14
Webshop.Domain/Interfaces/IOrderRepository.cs
Normal file
14
Webshop.Domain/Interfaces/IOrderRepository.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// Auto-generiert von CreateWebshopFiles.ps1
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Domain.Entities;
|
||||
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
public interface IOrderRepository
|
||||
{
|
||||
// Fügen Sie hier Methodensignaturen hinzu
|
||||
}
|
||||
}
|
||||
14
Webshop.Domain/Interfaces/IPaymentMethodRepository.cs
Normal file
14
Webshop.Domain/Interfaces/IPaymentMethodRepository.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// Auto-generiert von CreateWebshopFiles.ps1
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Domain.Entities;
|
||||
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
public interface IPaymentMethodRepository
|
||||
{
|
||||
// Fügen Sie hier Methodensignaturen hinzu
|
||||
}
|
||||
}
|
||||
@@ -1,15 +1,16 @@
|
||||
// src/Webshop.Domain/Interfaces/IProductRepository.cs
|
||||
using Webshop.Domain.Entities;
|
||||
// src/Webshop.Domain/Interfaces/IProductRepository.cs
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Domain.Entities; // Product Entity
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
public interface IProductRepository
|
||||
{
|
||||
Task<Product?> GetProductByIdAsync(Guid id);
|
||||
Task<IEnumerable<Product>> GetAllProductsAsync();
|
||||
Task<Product?> GetProductByIdAsync(Guid id);
|
||||
Task AddProductAsync(Product product);
|
||||
Task UpdateProductAsync(Product product);
|
||||
Task DeleteProductAsync(Guid id);
|
||||
Task<bool> ProductExistsBySlugAsync(string slug);
|
||||
}
|
||||
}
|
||||
14
Webshop.Domain/Interfaces/IReviewRepository.cs
Normal file
14
Webshop.Domain/Interfaces/IReviewRepository.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// Auto-generiert von CreateWebshopFiles.ps1
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Domain.Entities;
|
||||
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
public interface IReviewRepository
|
||||
{
|
||||
// Fügen Sie hier Methodensignaturen hinzu
|
||||
}
|
||||
}
|
||||
14
Webshop.Domain/Interfaces/ISettingRepository.cs
Normal file
14
Webshop.Domain/Interfaces/ISettingRepository.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// Auto-generiert von CreateWebshopFiles.ps1
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Domain.Entities;
|
||||
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
public interface ISettingRepository
|
||||
{
|
||||
// Fügen Sie hier Methodensignaturen hinzu
|
||||
}
|
||||
}
|
||||
14
Webshop.Domain/Interfaces/IShippingMethodRepository.cs
Normal file
14
Webshop.Domain/Interfaces/IShippingMethodRepository.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// Auto-generiert von CreateWebshopFiles.ps1
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Domain.Entities;
|
||||
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
public interface IShippingMethodRepository
|
||||
{
|
||||
// Fügen Sie hier Methodensignaturen hinzu
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
// src/Webshop.Domain/Interfaces/ISupplierRepository.cs
|
||||
using Webshop.Domain.Entities;
|
||||
// src/Webshop.Domain/Interfaces/ISupplierRepository.cs
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Domain.Entities; // Supplier Entity
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user