28 lines
1.1 KiB
C#
28 lines
1.1 KiB
C#
// Auto-generiert von CreateWebshopFiles.ps1
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Webshop.Application.DTOs;
|
|
using Webshop.Domain.Entities;
|
|
using Webshop.Domain.Interfaces;
|
|
|
|
|
|
namespace Webshop.Application.Services.Admin
|
|
{
|
|
public class AdminSupplierService : IAdminSupplierService
|
|
{
|
|
private readonly ISupplierRepository _supplierRepository;
|
|
|
|
public AdminSupplierService(ISupplierRepository supplierRepository)
|
|
{
|
|
_supplierRepository = supplierRepository;
|
|
}
|
|
|
|
// HIER KOMMT DER VORHERIGE ADMINSUPPLIERSERVICE CODE HIN (GetAllSuppliersAsync, CreateSupplierAsync etc.)
|
|
// Hier sind Platzhalter-Implementierungen, die Sie durch den vollständigen Code ersetzen müssen:
|
|
public async Task<IEnumerable<SupplierDto>> GetAllSuppliersAsync() { return new List<SupplierDto>(); }
|
|
public async Task<SupplierDto?> GetSupplierByIdAsync(Guid id) { return null; }
|
|
public async Task<SupplierDto> CreateSupplierAsync(SupplierDto supplierDto) { return null; }
|
|
}
|
|
}
|