public async Task <DataCollection <ProductDto> > GetAll(int page = 1, int take = 10, string ids = null) { IEnumerable <int> products = null; if (!string.IsNullOrEmpty(ids)) { products = ids.Split(',').Select(x => Convert.ToInt32(x)); } return(await _productQueryService.GetAllAsyc(page, take, products)); }