예제 #1
0
        public ActionResult AddUser(int groupId, int userId)
        {
            if (Session["UserName"] == null)
            {
                return(RedirectToAction("Error"));
            }

            KoombuBll kBll = new KoombuBll();

            kBll.AddUserToGroup(userId, groupId);
            return(RedirectToAction("EditGroupUsers", new { groupId = groupId }));
        }