public IActionResult Detail(int id)
        {
            _service = new ContactsService();
            //var model = _service.GetContactDetails(id);
            //return View(model);
            //if (id == null)
            //{
            //    return NotFound();
            //}
            ContactDetails contact = _service.GetContactDetails(id);

            if (contact == null)
            {
                return(NotFound());
            }
            return(View(contact));
        }