Exemple #1
0
        public async Task <IHttpActionResult> GetDataByAptitudes(String id)
        {
            try
            {
                log.Info(new MDCSet(this.ControllerContext.RouteData), new InfoException(id));
                var personas = await _repository.GetDataByAptitudes(id);

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

                return(InternalServerError(e));
            }
        }