using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using static DeluxeBackend.Enums; namespace DeluxeBackend.Controllers.Api { [Route("api/storefronts")] [ApiController] public class StorefrontsController : ControllerBase { [HttpGet("v3/giftdropstore/{type}")] [Authorize] public async Task Thread([FromRoute] StorefrontType type) { return Ok(new { StorefrontType = (int)type, NextUpdate = DateTime.MaxValue.ToString("O"), StoreItems = new List(), SubscriberDiscountPercent = 0 }); } [HttpGet("v4/balance/{type}")] [Authorize] public async Task Thread([FromRoute] PMKKDOJNMGM type) { return Ok(new List()); } } }