コード例 #1
0
        public IActionResult ActivityTypesForUpdate(string id)
        {
            var data = _courseData.FindUpdate(id).ToList();

            //////////////////////why is this here
            foreach (ActivityType activityType in data)
            {
                activityType.Course = null;
            }
            return(Json(new { data = data }));
        }