private bool StepHotelNext()
        {
            int selectedCompaniesIdForHotels = Int32.Parse(ddlCompaniesForHotels.SelectedValue);
            int companyIdForHotels = Int32.Parse(hdfCompanyIdForHotels.Value);

            HotelsAddHotelsGateway hotelsAddHotelsGateway = new HotelsAddHotelsGateway();

            if (hotelsAddHotelsGateway.IsInLfs(selectedCompaniesIdForHotels, companyIdForHotels))
            {
                lblUserErrorMessageForHotels.Visible = true;
            }
            else
            {
                lblUserErrorMessageForHotels.Visible = false;

                // Get name
                int companiesIdForHotels = Int32.Parse(ddlCompaniesForHotels.SelectedValue);
                DateTime dateForHotels = DateTime.Now;

                // Insert subcontractor
                hdfNameForHotels.Value = GetCompanyName(companiesIdForHotels, companyIdForHotels);

                HotelsAddHotels model = new HotelsAddHotels(hotelsAddTDS);
                model.Insert(companiesIdForHotels, dateForHotels, hdfNameForHotels.Value, false, companyIdForHotels);

                // ... Store tables
                Session["hotelsAddTDS"] = hotelsAddTDS;
            }
            return true;
        }
        private bool StepBeginNext()
        {
            int selectedCompaniesId = Int32.Parse(ddlCompanies.SelectedValue);
            int companyId = Int32.Parse(hdfCompanyId.Value);

            HotelsAddHotelsGateway hotelsAddHotelsGateway = new HotelsAddHotelsGateway();

            if (hotelsAddHotelsGateway.IsInLfs(selectedCompaniesId, companyId))
            {
                lblUserErrorMessage.Visible = true;
                return false;
            }
            else
            {
                lblUserErrorMessage.Visible = false;

                // Get name
                int companiesId = Int32.Parse(ddlCompanies.SelectedValue);
                DateTime date = DateTime.Now;

                // Insert subcontractor
                CompaniesGatewayRAF companiesGatewayRAF = new CompaniesGatewayRAF();
                companiesGatewayRAF.LoadByCompaniesId(companiesId, companyId);

                hdfName.Value = companiesGatewayRAF.GetName(companiesId);

                HotelsAddHotels model = new HotelsAddHotels(hotelsAddTDS);
                model.Insert(companiesId, date, hdfName.Value, false, companyId);

                // ... Store tables
                Session["hotelsAddTDS"] = hotelsAddTDS;
            }
            return true;
        }