public IActionResult StructuresList(int pageSize = 5, int pageNo = 1) { pageSizeStd = pageSize; var model = _structureService.StructuresList(pageSizeStd, pageNo, ""); return(View(model)); }
public IActionResult GetStructures(int pageSize = 25, int pageNo = 1, string searchString = "") { var result = _structureService.StructuresList(pageSize, pageNo, searchString); return(Ok(result.Structures.ToArray())); }