Ejemplo n.º 1
0
        public async Task <IEnumerable <Size> > GetAll()
        {
            var query = await _repository.GetAllAsync();

            query = query.Include(s => s.Products)
                    .ThenInclude(s => s.Product_id);
            return(query);
        }