public string Execute(IList <string> inputParameters) { //Assign Values From List Of Parameters string teamToShowBoardsFor = inputParameters[0]; //Validations var teamTypeForChecking = "Team Name"; inputValidator.IsNullOrEmpty(teamToShowBoardsFor, teamTypeForChecking); businessLogicValidator.ValidateTeamExistance(allTeams, teamToShowBoardsFor); businessLogicValidator.ValdateIfBoardsExistInTeam(allTeams, teamToShowBoardsFor); //Operations var teamToShowBoard = allTeams.AllTeamsList[teamToShowBoardsFor]; var allTeamBoardsResult = teamOperations.ShowAllTeamBoards(teamToShowBoard); return(string.Format(allTeamBoardsResult)); }