示例#1
0
        public ActionResult CreateCourse()
        {
            var  blockService = BlockCycleContainer.Container.Resolve <BlockService>();
            Guid idCourse     = Guid.NewGuid();

            //todo create course in block
            var model = new MobileVM {
                IdCourse = idCourse
            };

            return(View("Index", model));
        }
        public ActionResult AddPointCourse(Guid idCourser, string pos)
        {
            var blockService = BlockCycleContainer.Container.Resolve <BlockService>();

            //todo add in blockchain

            var model = new MobileVM();

            //model.Latitude = latitude;
            //model.Longitude = longitude;

            return(PartialView("~/Views/Mobile/_Position.cshtml", model));
        }