Пример #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));
        }