Beispiel #1
0
        public async Task <IHttpActionResult> GetByClaveGestionFichaPersonalSindicalizado(string Id)
        {
            try
            {
                log.Info(new MDCSet(this.ControllerContext.RouteData), new InfoException(Id));
                var persona = await _repository.GetByClaveGestionFichaPersonalSindicalizado(Id);

                return(Ok(persona));
            }
            catch (Exception e)
            {
                log.Error(new MDCSet(this.ControllerContext.RouteData), e);

                return(InternalServerError(e));
            }
        }