Exemplo n.º 1
0
        public IActionResult GetUniqueInvoiceCountries()
        {
            var repo      = new InvoiceRepo();
            var countries = repo.UniqueInvoiceCountries();

            if (!countries.Any())
            {
                return(NotFound());
            }
            return(Ok(countries));
        }