This commit is contained in:
Exception
2026-05-09 14:31:53 -04:00
parent ad3fa51fd9
commit 1f113298e0
251 changed files with 100454 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
using DeluxeNET.Data;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace DeluxeNET.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class playersController : ControllerBase
{
private readonly AppDbContext _db;
public playersController(AppDbContext db)
{
_db = db;
}
[HttpGet("v2/progression/bulk")]
public async Task<IActionResult> getprogressBulk([FromQuery] List<long> id)
{
var progressions = await _db.Progressions
.Where(x => id.Contains(x.Id))
.ToListAsync();
return Ok(progressions);
}
}
}