コード例 #1
0
        public ActionResult AddListener(Guid confId)
        {
            var userId = _userService.GetIdByAspId(User.Identity.GetUserId());

            if (confId != Guid.Empty && userId != Guid.Empty)
            {
                _conferencService.AddListener(userId, confId);
            }
            return(RedirectToAction("Index"));
        }