public string Execute(IList <string> inputParameters) { string teamName = inputParameters[0]; //Validations var inputTypeForChecking = "Team Name"; inputValidator.IsNullOrEmpty(teamName, inputTypeForChecking); businessLogicValidator.ValidateIfTeamExists(allTeams, teamName); //Operations var team = this.factory.CreateTeam(teamName); allTeamsOperations.AddTeam(allTeams, team); return(string.Format(TeamCreated, teamName)); }