public async Task <ProductDto> GetAsync(int userId, int id)
        {
            var model = await _productRepository.GetAsync(userId, id);

            var result = ProductDtoMapper.Map(model);

            return(result);
        }
        public async Task <IList <ProductDto> > GetAsync(int userId, PagingOptions pagingOptions)
        {
            var models = await _productRepository.GetAsync(userId, null, pagingOptions);

            var results = ProductDtoMapper.Map(models);

            return(results);
        }
        public async Task <ProductDto> AddAsync(int userId, ProductDto dto)
        {
            var model    = ProductMapper.Map(dto);
            var newModel = await _productRepository.AddAsync(userId, model);

            var result = ProductDtoMapper.Map(newModel);

            return(result);
        }