discount und summary
This commit is contained in:
@@ -7,6 +7,9 @@ using Webshop.Application.Services.Public;
|
||||
|
||||
namespace Webshop.Api.Controllers.Public
|
||||
{
|
||||
/// <summary>
|
||||
/// API-Endpunkte zum Abrufen öffentlicher Shop-Informationen.
|
||||
/// </summary>
|
||||
[ApiController]
|
||||
[Route("api/v1/public/[controller]")]
|
||||
[AllowAnonymous]
|
||||
@@ -19,6 +22,12 @@ namespace Webshop.Api.Controllers.Public
|
||||
_shopInfoService = shopInfoService;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Ruft die öffentlichen Stammdaten des Shops ab.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Diese Informationen sind für jeden Besucher sichtbar und werden typischerweise im Footer, auf der Kontaktseite oder im Impressum verwendet.
|
||||
/// </remarks>
|
||||
[HttpGet]
|
||||
public async Task<ActionResult<PublicShopInfoDto>> GetPublicShopInfo()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user