Ejemplo n.º 1
0
 public IHttpActionResult GetPotentialUserMatch([FromBody] User searchUser)
 {
     try
     {
         var rc = _finderService.DoesActiveContactExists(searchUser.email);
         return(Ok(rc));
     }
     catch (Exception ex)
     {
         var apiError = new ApiErrorDto("GetPotentialUserMatch Failed", ex);
         throw new HttpResponseException(apiError.HttpResponseMessage);
     }
 }