public ActionResult GroupInvite(GroupEditInfo item) { foreach (var i in item.Characters) { m.sendGroupInviteById(i, item.Id); } return(Content("")); }
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 })); }