Ejemplo n.º 1
0
        public JObject SetPriorityForWaitingCalls(HttpContext context)
        {
            JObject resultObj = new JObject();

            try
            {
                Press3.BusinessRulesLayer.Manager managerObj = new Press3.BusinessRulesLayer.Manager();
                resultObj = managerObj.SetPriorityForWaitingCalls(MyConfig.MyConnectionString, Convert.ToInt32(context.Request["callId"]), Convert.ToInt32(context.Request["priority"]));
            }
            catch (Exception ex)
            {
                Logger.Error(ex.ToString());
                throw ex;
            }
            return(resultObj);
        }