Beispiel #1
0
        public async Task <IActionResult> GetCustomersCount()
        {
            var allCustomersCount = await _customerApiService.GetCustomersCountAsync();

            var customersCountRootObject = new CustomersCountRootObject
            {
                Count = allCustomersCount
            };

            return(Ok(customersCountRootObject));
        }