//POST: LeaveHouse public ActionResult LeaveHouse(int id) { var myId = User.Identity.GetUserId(); var me = db.Users.FirstOrDefault(m => m.Id == myId); var house = db.Households.FirstOrDefault(h => h.Id == id); if (houseHelper.ImHeadOfHousehold(house) && house.Users.Count > 1) { //Redirect to a page that lets HoH //pass HoHId to somebody else return(RedirectToAction("???", "Households")); } else { houseHelper.LeaveHouse(house); return(me.Households.Count() > 0 ? RedirectToAction("Lobby", "Home") : RedirectToAction("Index")); } }