public bool ActiveInactive(int id)
        {
            try
            {
                ContactViewModel contactViewModel = contactService.GetContactById(id);

                if (contactViewModel.IsActive)
                {
                    contactService.InActivateContact(id);
                    contactViewModel.IsActive = false;
                }
                else
                {
                    contactService.ActivateContact(id);
                    contactViewModel.IsActive = true;
                }
                return(contactViewModel.IsActive);
            }
            catch (Exception exe)
            {
                return(false);
            }
        }