mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-06 04:50:55 +00:00
Пока ниче не делаю, чилю)
This commit is contained in:
1 parent
5b7364c57e
commit
d69a5689e8
54 files changed
+444
-980
No files matched your search
@@ -2,7 +2,7 @@ using Microsoft.AspNetCore.Mvc;
|
||||
using Lextm.SharpSnmpLib;
|
||||
using Lextm.SharpSnmpLib.Messaging;
|
||||
using System.Net;
|
||||
using CartriX.Api.Models;
|
||||
using CartriX.Shared.Models;
|
||||
|
||||
namespace CartriX.Api.Controllers
|
||||
{
|
||||
@@ -11,11 +11,11 @@ namespace CartriX.Api.Controllers
|
||||
public class PrinterController : ControllerBase
|
||||
{
|
||||
private readonly AppDbContext _context;
|
||||
|
||||
public PrinterController(AppDbContext context)
|
||||
{
|
||||
_context = context;
|
||||
}
|
||||
|
||||
[HttpGet("getPages/{id}")]
|
||||
public ActionResult GetPages(int id)
|
||||
{
|
||||
@@ -34,7 +34,7 @@ namespace CartriX.Api.Controllers
|
||||
|
||||
return Ok($"{result[0].Data}");
|
||||
}
|
||||
//[HttpPost]
|
||||
// [HttpPost]
|
||||
//public IActionResult AddPrinter([FromBody] CreateAddPrinterRequest PrinterDto)
|
||||
//{
|
||||
|
||||
|
||||
Reference in new issue
Block a user