Esempio n. 1
0
        public IActionResult Delete([FromBody] EditarUrlViewModel url)
        {
            var id = HttpContext.User.Claims.FirstOrDefault(c => c.Type == "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier").Value;

            service.Deletar(url, id);

            return(NoContent());
        }