예제 #1
0
        public async Task <IActionResult> Run(String id, Int32 version)
        {
            var identity = new Identity()
            {
                Id = id, Version = version
            };
            var inst = await _engine.CreateAsync(identity);             //, new { X = 5 });

            await _engine.RunAsync(inst.Id);

            return(Redirect("/"));
        }