Created
July 15, 2019 21:54
-
-
Save davidsonsousa/2b04c83c791e9a27fa7ef8e4ff059721 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[HttpPost] | |
public IActionResult GetPeopleData(DataParameters parameters) | |
{ | |
var items = personService.GetPeopleForDataTable(parameters); | |
var dataTable = DataTableHelper.BuildDataTable(items.Data, items.Count); | |
dataTable.Draw = parameters.Draw; | |
return Ok(dataTable); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment