コード例 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            var plansBusiness = new ServicePlanBLL();

            servicePlans = plansBusiness.Get();

            if (business == null)
            {
                business = new ClientBLL();
            }

            if (!Page.IsPostBack)
            {
                this.LoadSatelliteData();
                this.RefreshItems();
            }
        }
コード例 #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            var channelsBusiness = new StreamingChannelBLL();

            channels = channelsBusiness.Get();

            if (business == null)
            {
                business = new ServicePlanBLL();
            }

            if (!Page.IsPostBack)
            {
                this.LoadSatelliteData();
                this.RefreshItems();
            }
        }