public string Execute(IList <string> inputParameters) { string personName = inputParameters[0]; //Validations var personTypeForChecking = "Person Name"; inputValidator.IsNullOrEmpty(personName, personTypeForChecking); inputValidator.ValdateMemberNameLength(personName); businessLogicValidator.ValidateIfPersonExists(allMembers, personName); //Operations var person = this.factory.CreateMember(personName, allTeams); allMembersOperations.AddMember(allMembers, person); return(string.Format(PersonCreated, personName)); }