public IActionResult GetLaptopsPaging(int page, int pageSize) { var laptops = laptopService.GetLaptopsPaging(page, pageSize); if (laptops == null) { return(Content("Laptop is empty")); } return(Ok(laptops)); }