Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. [Route("api/new_biometric_image/{session}/{device_id}/{identifier_id}/{width}/{height}")]
  2. public class new_biometric_imageController : ApiController
  3. {
  4. [HttpPost]
  5. [ActionName("new_biometric_image")]
  6. public IHttpActionResult new_biometric_image(string session, long device_id, long identifier_id, int width, int height, [FromBody] byte[] imagem)
  7. {
  8. try
  9. {
  10.  
  11.  
  12.  
  13. return Ok("ok");
  14.  
  15. }
  16. catch (Exception e)
  17. {
  18. var mensagem = "Não foram encontrados usuarios!";
  19.  
  20. return Ok(mensagem);
  21. }
  22.  
  23. }
  24.  
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement