Esempio n. 1
0
        public async Task <IActionResult> GetAllAsync()
        {
            var companies = await _companyServices.GetAllAsync();

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