public ApiResult GetList(int pageNo = 1, int limit = 10) { int totalCount = 0; var list = _discoveryService.GetDiscoveryByPage(pageNo, limit, out totalCount).ToList().Select(x => new DiscoveryListModel(x)); var result = new ApiResult(); var data = new { TotalCount = totalCount, List = list }; result.SetData(data); return(result); }