internal override string Execute(string[] parameters) { int pcID = -1; int userID = -1; List <int> contentIDList; string error = null; if (_session["User"] != null) { error = Helper.GetIDs(_session, parameters, out userID, out pcID, out contentIDList); } else { error = GetIDs(parameters, out pcID, out contentIDList); } if (error != "1") { return(error); } BLClient client = null; try { client = new BLClient(); client.AddPCStream(userID, pcID, contentIDList); } catch (Exception ex) { return(ErrorWrapper.SendError(ex.Message)); } finally { client.Dispose(); } return("1"); }