Сделал добавление картриджей через форму

This commit is contained in:
Hukuta committed 2026-06-08 04:12:50 +09:00
1 parent 70bfae943b
commit 10c499e671
27 files changed
+922 -36

No files matched your search

@@ -4,8 +4,16 @@ namespace CartriX.Api.Controllers.Manufacturer
{
[Route("api/[controller]")]
[ApiController]
public class ManufacturerController : ControllerBase
public class ManufacturerController(IManufacturerService _service) : ControllerBase
{
/// <summary>
/// Список производителей
/// </summary>
[ProducesResponseType(typeof(List<string>),200)]
[HttpGet(nameof(List))]
public async Task<ActionResult> List()
{
return Ok(await _service.List());
}
}
}