public async Task <IHttpActionResult> GetByNombreGestionFichaPersonalSindicalizado(string Id) { try { log.Info(new MDCSet(this.ControllerContext.RouteData), new InfoException(Id)); var persona = await _repository.GetByNombreGestionFichaPersonalSindicalizado(Id); return(Ok(persona)); } catch (Exception e) { log.Error(new MDCSet(this.ControllerContext.RouteData), e); return(InternalServerError(e)); } }