Files
ShopSolution-backend/Webshop.Api/Controllers/Customer/OrdersController.cs
Tizian.Breuch ce69373adb try
2025-07-23 21:08:30 +02:00

23 lines
616 B
C#

// Auto-generiert von CreateWebshopFiles.ps1
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Webshop.Api.Controllers.Customer
{
[ApiController]
[Route("api/v1/customer/[controller]")]
[Authorize(Roles = "Customer")]
public class OrdersController : ControllerBase
{
[HttpGet("my-orders")]
public async Task<IActionResult> GetMyOrders()
{
return Ok(new { Message = "Dies ist Ihr persönlicher Bestellverlauf (Platzhalter)." });
}
}
}