public IActionResult GetUniqueInvoiceCountries() { var repo = new InvoiceRepo(); var countries = repo.UniqueInvoiceCountries(); if (!countries.Any()) { return(NotFound()); } return(Ok(countries)); }
public IActionResult GetUniqueInvoiceCountries() { var repo = new InvoiceRepo(); var countries = repo.UniqueInvoiceCountries(); if (!countries.Any()) { return(NotFound()); } return(Ok(countries)); }