// 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.Customers { [ApiController] [Route("api/v1/customer/[controller]")] [Authorize(Roles = "Customer")] public class OrdersController : ControllerBase { [HttpGet("my-orders")] public async Task GetMyOrders() { return Ok(new { Message = "Dies ist Ihr persönlicher Bestellverlauf (Platzhalter)." }); } } }