public IActionResult GetCompanyContact(int pp, int page, int company) { var contactList = ContactRepo.GetCompanyContact(pp, page, company); if (contactList != null) { return(new ObjectResult(contactList)); } return(StatusCode(500)); }