public AllAccount GetUpdate(string AccountID)
        {
            AllAccount objcontacts = new AllAccount();
            Contact_Repository acctRepo = new Contact_Repository();
            objcontacts.singleContact = Contact.TblToData(acctRepo.GetUpdate(AccountID));

            if (objcontacts.singleContact == null) return null;
            return objcontacts;
        }
        public ConsoleClasses.AllAccount GetAllContact()
        {
            try
            {
                AllAccount objContacts = new AllAccount();
                Contact_Repository companyRepo = new Contact_Repository();
                objContacts.Contacts  = Contact.TblToData(companyRepo.GetContacts());

                return objContacts;
            }
            catch (Exception)
            {

                throw;
            }
        }