Пример #1
0
        public IActionResult GetAllContact(int pp, int page)
        {
            var contactList = ContactRepo.GetAllContact(pp, page);

            if (contactList != null)
            {
                return(new ObjectResult(contactList));
            }
            return(StatusCode(500));
        }