mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-04 20:10:55 +00:00
ф
This commit is contained in:
1 parent
e8529ee92a
commit
eddb735070
5 files changed
+4
-15
No files matched your search
Vendored
+3
@@ -185,6 +185,9 @@
|
||||
},
|
||||
"active": "aa4706c6d7d10a4d",
|
||||
"lastOpenFiles": [
|
||||
"Misc/Пред диплом/lu334724f6qt7.tmp",
|
||||
"Misc/Пред диплом/lu334724f6qss.tmp",
|
||||
"CartriX.Api/obj/Debug/net10.0/kvpkt0gr.4pc~",
|
||||
"README.md",
|
||||
"Без названия.canvas",
|
||||
"Без названия.base",
|
||||
|
||||
@@ -17,6 +17,6 @@ namespace CartriX.Api.Controllers
|
||||
[HttpGet(nameof(List))] public async Task<IActionResult> List() => Ok(await _articleService.List());
|
||||
|
||||
[HttpGet("ListArticlesByName")]
|
||||
public async Task<IActionResult> GetListArticlesByModelName([FromQuery]string NameModel) => Ok(await _art icleService.GetListArticlesByModelNameAsync(NameModel));
|
||||
public async Task<IActionResult> GetListArticlesByModelName([FromQuery]string NameModel) => Ok(await _articleService.GetListArticlesByModelNameAsync(NameModel));
|
||||
}
|
||||
}
|
||||
@@ -146,18 +146,5 @@ namespace CartriX.Api.Services
|
||||
return null;
|
||||
}
|
||||
}
|
||||
private async Task<string?> GetHostnameFromIpAsync(IPAddress ipAddress)
|
||||
{
|
||||
try
|
||||
{
|
||||
IPHostEntry entry = Dns.GetHostEntry(ipAddress);
|
||||
return entry.HostName;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine($"error: {ex.Message}");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
,HK-PC/Hukuta,HK-PC,22.05.2026 00:42,file:///C:/Users/Hukuta/AppData/Roaming/LibreOffice/4;
|
||||
Binary file not shown.
Reference in new issue
Block a user