Guest User

Untitled

a guest
Jun 25th, 2019
62
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [assembly: OwinStartup(typeof(GestaoFrotas.Security.API.Startup))]
  2.  
  3. //configurando rotas
  4. config.MapHttpAttributeRoutes();
  5. config.Routes.MapHttpRoute(
  6. name: "DefaultApi",
  7. routeTemplate: "api/{controller}/{id}",
  8. defaults: new { id = System.Web.Http.RouteParameter.Optional }
  9. );
  10.  
  11. ConfigureAccessToken(app);
  12.  
  13. // ativando configuração WebApi
  14. app.UseWebApi(config);
  15. }
  16.  
  17. insira o código aqui
  18.  
  19.  
  20. [HttpGet]
  21. [Route("api/Autenticacao/ConfirmEmail")]
  22. public async Task<HttpResponseMessage> ConfirmEmail(string userId = "", string code = "")
  23. {
  24.  
  25. }
RAW Paste Data