public bool DeleteBAddress(console.Models.tbl_BillingAddress entity)
        {
            bool result = false;

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

            using (var context = new console.Models.dream_techContext())
            {
                tbl_BillingAddress address = (from b in context.tbl_BillingAddress where b.billing_id == entity.billing_id select b).First();

                address.address_line = entity.address_line;
                address.suburb       = entity.suburb;
                address.city         = entity.city;
                address.postal_code  = entity.postal_code;
                address.country_id   = entity.country_id;

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