Пример #1
0
        public IActionResult GetCompanyCount()
        {
            var count = CompanyRepo.GetCompanyCount();

            if (count > -1)
            {
                return(new ObjectResult(count));
            }
            return(StatusCode(500));
        }