Пример #1
0
        public FavoriteItemsResponse Items([FromBody] FavoriteItemsRequest request)
        {
            FavoriteItemsResponse response = new FavoriteItemsResponse();

            List <FavoriteEntity> entityList = favoriteRepository.GetEntityList(request.PageIndex, PAGE_SIZE);

            response.Items = favoriteConvertor.toLessVoList(entityList);

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