...
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user