Esempio n. 1
0
 public void OnGet()
 {
     Purchases = purchaseData.GetPurchases(SearchTerm);
 }
        public IActionResult GetPurchasesAll()
        {
            var data = purchaseData.GetPurchases();

            return(Ok(data));
        }