SHARE
TWEET

Untitled

a guest Jun 25th, 2019 60 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top