Ejemplo n.º 1
0
        public RepositoryItemsResponse Items([FromBody] RepositoryItemsRequest request)
        {
            RepositoryItemsResponse response = new RepositoryItemsResponse();

            List <RepositoryEntity> entityList = repositoryRepository.GetEntityList(request.PageIndex, PAGE_SIZE);

            response.Items = repositoryConvertor.toLessVoList(entityList);

            response.Status = 1;
            return(response);
        }