示例#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();
            }
        }
        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();
            }
        }