private void CallBusinessAction(Action <StreamingChannelBLL, StreamingChannel> action) { var model = this.CreateModelFromUI(); var business = new StreamingChannelBLL(); action(business, model); this.ClearControls(); this.RefreshItems(); }
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(); } }