Ejemplo n.º 1
0
        private JObject ManagerCallActions(HttpContext context)
        {
            JObject responseJObj = new JObject();

            try
            {
                Press3.BusinessRulesLayer.Manager callsObject = new Press3.BusinessRulesLayer.Manager();
                responseJObj = callsObject.ManagerCallActions(CommonClasses.MyConfig.MyConnectionString, Convert.ToInt32(context.Request["Mode"]), agentId, accountId, Convert.ToInt32(context.Request["CallId"]), Convert.ToInt32(context.Request["ToAgentId"]), context.Request["CallEvent"].ToString());
            }
            catch (Exception ex)
            {
                Logger.Error(ex.ToString());
                throw ex;
            }
            return(responseJObj);
        }