using ArtPlatform.Database; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace ArtPlatform.API.Controllers; [ApiController] [Authorize("admin")] [Route("api/admin/[controller]")] public class AdminSellersController { private readonly ApplicationDbContext _dbContext; public AdminSellersController(ApplicationDbContext dbContext) { _dbContext = dbContext; } [HttpGet] public Task GetSellers(string search="", int offset = 0, int pageSize = 10) { throw new NotImplementedException(); } [HttpGet("Count")] public Task GetSellersCount(string search="") { throw new NotImplementedException(); } [HttpGet("{sellerId:int}")] public Task GetSeller(int sellerId) { throw new NotImplementedException(); } [HttpGet("{sellerId:int}/Orders")] public Task GetSellerOrders(int sellerId) { throw new NotImplementedException(); } [HttpPut("{sellerId:int}/Suspend")] public Task SuspendSeller(int sellerId) { throw new NotImplementedException(); } [HttpPut("{sellerId:int}/Unsuspend")] public Task UnsuspendSeller(int sellerId) { throw new NotImplementedException(); } [HttpPut("{sellerId:int}/Terminate")] public Task TerminateSeller(int sellerId) { throw new NotImplementedException(); } [HttpPut("{sellerId:int}/SetBiography")] public Task SetBiography(string userId, [FromBody]string biography) { throw new NotImplementedException(); } }