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

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

                return(InternalServerError(e));
            }
        }