public async Task <IActionResult> CPshow(int index = 0, int size = 8) { var Category = await _Wmss.CPshow(); int count = Category.Count; Category = Category.Skip((index - 1) * size).Take(size).ToList(); return(Ok(Category)); }
public async Task <IActionResult> CPshow(int index = 0, int size = 8) { var Category = await _Wmss.CPshow(); int count = Category.Count; Category = Category.Skip((index - 1) * size).Take(size).ToList(); return(Ok(Category)); }