mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-06 13:00:55 +00:00
asdasdasd
This commit is contained in:
1 parent
c4182ec609
commit
9905cde527
76 files changed
+2895
-2529
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using CartriX.Api.Interfaces;
|
||||
using CartriX.Api.Mappers;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace CartriX.Api.Controllers
|
||||
@@ -12,6 +13,9 @@ namespace CartriX.Api.Controllers
|
||||
{
|
||||
_articleService = articleService;
|
||||
}
|
||||
|
||||
[HttpGet(nameof(List))] public async Task<IActionResult> List() => Ok(await _articleService.List());
|
||||
|
||||
[HttpGet("ListArticlesByName")]
|
||||
public async Task<IActionResult> GetListArticlesByModelName([FromQuery]string NameModel) => Ok(await _articleService.GetListArticlesByModelNameAsync(NameModel));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user