public bool DeleteContact(console.Models.tbl_CustomerContact entity)
        {
            bool result = false;

            using (var context = new console.Models.dream_techContext())
            {
                context.tbl_CustomerContact.Remove(entity);
                result = context.SaveChanges() > 1;
            }
            return(result);
        }
        public bool UpdateContact(console.Models.tbl_CustomerContact entity)
        {
            bool result = false;

            using (var context = new console.Models.dream_techContext())
            {
                tbl_CustomerContact contact = (from c in context.tbl_CustomerContact where c.contact_id == entity.contact_id select c).First();

                contact.cell_number = entity.cell_number;
                contact.landline    = entity.landline;

                result = context.SaveChanges() > 1;
            }
            return(result);
        }