Ejemplo n.º 1
0
        public IActionResult GetContactCount(int company)
        {
            var count = ContactRepo.GetContactCount(company);

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