public async Task <Product> GetProductAsync(int productId) { var product = await _iRepository.GetOneAsync <Product>(p => p.Id == productId); return(product); }
public async Task <Product> GetProductAsync(int productId) { var product = await _iRepository.GetOneAsync <Product>(p => p.Id == productId); return(product); }