public List <Product> GetProductsByCategoryId(int categoryId)
        {
            List <Product> response = null;

            response = MockProducts.GetProducts().Where(p => p.CategoryId == categoryId).ToList();
            return(response);
        }
        public Product GetProductById(int id)
        {
            Product response = null;

            response = MockProducts.GetProducts().Where(p => p.Id == id).FirstOrDefault();

            return(response);
        }
 public List <Product> GetProducts()
 {
     return(MockProducts.GetProducts());
 }