示例#1
0
        // GET: api/Execution/5
        public JsonResult<string> Get(string id)
        {
            var log = new EgLogManager();
            var execMgr = new ExecutionManager(log, id);
            execMgr.ProcessLogin();


            Request.CreateResponse(HttpStatusCode.OK);
            var settings = new JsonSerializerSettings();

            return Json("Message sent!", settings, Encoding.Default);

            //return this.Request.CreateResponse(HttpStatusCode.OK);
        }
示例#2
0
 public ExecutionManager(EgLogManager log, string facebookToken)
 {
     _faceBookMgr = new FaceBookMgr(facebookToken);
     _neo4JManager = new Neo4JManager();
     _log = log;
 }