Beispiel #1
0
        public async Task <IActionResult> GetAllAsync()
        {
            var customers = await _customerServices.GetAllAsync();

            if (customers.Count() >= 1)
            {
                return(Ok(customers));
            }
            return(Ok());
        }