Exemplo n.º 1
0
 public IActionResult Delete([FromBody] string email)
 {
     if (email == null)
     {
         return(BadRequest());
     }
     try
     {
         delete.Delete(email);
         return(NoContent());
     }
     catch (NotFoundClientException)
     {
         return(NotFound());
     }
 }