public string Execute(IList <string> inputParameters) { string boardToAddToTeam = inputParameters[0]; string teamForAddingBoardTo = inputParameters[1]; //Validations var boardTypeForChecking = "Board Name"; inputValidator.IsNullOrEmpty(boardToAddToTeam, boardTypeForChecking); var teamTypeForChecking = "Person Name"; inputValidator.IsNullOrEmpty(teamForAddingBoardTo, teamTypeForChecking); inputValidator.ValdateBoardNameLength(boardToAddToTeam); businessLogicValidator.ValidateTeamExistance(allTeams, teamForAddingBoardTo); businessLogicValidator.ValidateBoardAlreadyInTeam(allTeams, boardToAddToTeam, teamForAddingBoardTo); //Operations var team = allTeams.AllTeamsList[teamForAddingBoardTo]; var board = this.factory.CreateBoard(boardToAddToTeam); teamOperations.AddBoard(team, board); return(string.Format(BoardAddedToTeam, boardToAddToTeam, teamForAddingBoardTo)); }