/// <summary>
        /// ///List the contact details.
        /// </summary>
        /// <returns>contact details</returns>
        public List <Contact> GetContact()

        {
            List <Contact> Contacts = new List <Contact>();

            Contacts = _contactDal.AllContact();
            return(Contacts.ToList());
        }