mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 20:40:55 +00:00
Сделал добавление картриджей через форму
This commit is contained in:
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());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user