public ActionResult GetPagedSearch([FromQuery] string name, string sortDirection, int pageSize, int page) { return(new OkObjectResult(_personBusiness.FindWithPagedSeach(name, sortDirection, pageSize, page))); }