示例#1
0
        public async Task <Product> GetProductAsync(int productId)
        {
            var product = await _iRepository.GetOneAsync <Product>(p => p.Id == productId);

            return(product);
        }