Exemple #1
0
        // GET: Groups/Create
        //first 4 variables come from the +Button on the general info screens.
        public ActionResult Create(LevelEnum?level, Guid?ofReferenceId, Guid?byReferenceId, Guid?byAppUserId, Guid?appUserId)
        {
            if (appUserId == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }

            GroupAddView model = GroupViewHelpers.GetGroupAddView(level, ofReferenceId, byReferenceId, byAppUserId, appUserId.Value);

            return(View(model));
        }
Exemple #2
0
        public ActionResult GetMemberList(string groupName, string memberType)
        {
            GroupAddView model = GroupViewHelpers.GetGroupAddView(groupName, memberType, User);

            return(PartialView("AddGroupMembers", model));
        }