Example #1
0
        private void CallBusinessAction(Action <StreamingChannelBLL, StreamingChannel> action)
        {
            var model = this.CreateModelFromUI();

            var business = new StreamingChannelBLL();

            action(business, model);

            this.ClearControls();
            this.RefreshItems();
        }
Example #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            var showsBusiness = new StreamingShowBLL();

            shows = showsBusiness.Get();

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

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