public IHttpActionResult Get(int currentPage, int pageSize, string keyword) { BaseRequest <CommonFilter> request = new BaseRequest <CommonFilter> { CurrentPage = currentPage, PageSize = pageSize, Data = { Keywords = keyword } }; var response = service.QueryCodeFile(request); //response.PagesCount = 2; return(Ok(response)); }