public Developer Add(Developer developer)
        {
            var response = developerRepository.GetByCPF(developer.CPF);

            if (response != null)
            {
                response.Messages = new List <string>();
                response.Messages.Add("Registro já existe");
                return(response);
            }

            var responseValidateCPF = this.developerRepository.ValidateCPFAsync(developer.CPF);

            if (responseValidateCPF.Result.message != "Autorizado")
            {
                var responseInvalid = new Developer()
                {
                    Messages = new List <string>()
                };
                responseInvalid.Messages.Add("Registro inválido");
                return(responseInvalid);
            }

            return(this.developerRepository.Add(developer));
        }