private void FillSquads(object fillCardObj, object waitingCardObj, object buttonIndex) { SquadData filledSquad = (SquadData)fillCardObj; SquadData waitingSquad = (SquadData)waitingCardObj; _view.FillSquad(filledSquad, waitingSquad, (int)buttonIndex); }