function UsuarioService(){ this.http = new HttpService(); } UsuarioService.prototype = { buscaPorCpf: function(cpf){ return this.http.get('/SebraeGoiasProjetoConsultoria/api/Usuario/BuscaPorCPF/'+cpf); }, buscaPorCNPJ: function(cnpj){ return this.http.get('/SebraeGoiasProjetoConsultoria/api/Usuario/BuscaPorCNPJ/'+cnpj); }, enviarEmailAlterarSenha: function(idUsuario){ return this.http.get('/SebraeGoiasProjetoConsultoria/api/Usuario/EnviarEmailAlterarSenha/'+idUsuario); }, verificarLink: function(hash){ return this.http.get('/SebraeGoiasProjetoConsultoria/api/Usuario/VerificarLink/'+hash); }, alterarSenha: function(dados){ return this.http.post('/SebraeGoiasProjetoConsultoria/api/Usuario/AlterarSenha/',dados); } }