public IActionResult createHost(string RoomCode) { Host host = new Host(RoomCode); Game none = new Game(); none = _repo.GetGame("none"); host.game = none; _repo.addHost(host); return(Ok()); }