コード例 #1
0
 public ActionResult GroupInvite(GroupEditInfo item)
 {
     foreach (var i in item.Characters)
     {
         m.sendGroupInviteById(i, item.Id);
     }
     return(Content(""));
 }
コード例 #2
0
        public ActionResult GroupInvite(GroupEditInfo item)
        {
            foreach (var i in item.Characters)
            {
                m.GroupInvite(i, item.Id);
            }
            //Frustrated cheese alert
            var game = m.CharacterGetById(item.Characters.First()).Game.Id;

            return(RedirectToAction("Details", new { id = item.Id }));
        }