예제 #1
0
        public ActionResult Add(Active active)
        {
            active.IsPublic = false;

            var result = siteService.AddActivity(active);

            return(Json(result));
        }
예제 #2
0
        public ActionResult Add(Active active)
        {
            active.DateCreated = DateTime.Now;

            var result = siteService.AddActivity(active);

            return(Json(result));
        }