Ejemplo n.º 1
0
        public IHttpActionResult VerifyIdDocument(VerifyIdDocumentData data)
        {
            try
            {
                _commands.VerifyIdDocument(data.Id, Username);
            }
            catch (Exception ex)
            {
                return(Ok(new { Result = "failed", Data = ex.Message }));
            }

            return(Ok(new { Result = "success" }));
        }