This commit is contained in:
mmrbnjd
2024-06-27 00:20:36 +03:30
parent 478456c03f
commit 94fdefa12c
8 changed files with 138 additions and 57 deletions

View File

@@ -5,6 +5,7 @@ using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Shared.DTOs;
using Shared.DTOs.Serch;
namespace Back.Controllers
{
@@ -18,8 +19,8 @@ namespace Back.Controllers
{
_Servstuff = Servstuff;
}
[HttpGet("Getstuff/{value}")]
public async Task<ActionResult> Getstuff(string value)
[HttpPost("Getstuff")]
public async Task<ActionResult<PagingDto<stuffDto>>> Getstuff(GridDataProviderRequestDto value)
{
return Ok(await _Servstuff.Getstuff(value));
}