public async Task <IHttpActionResult> GetFullRolByID(int id) { try { log.Info(new MDCSet(this.ControllerContext.RouteData), new InfoException(id)); int rolbase = Convert.ToInt32(ConfigurationManager.AppSettings["RolBase"]); var personas = await _repository.GetFullRolByID(id, "CH", rolbase); return(Ok(personas)); } catch (Exception e) { log.Error(new MDCSet(this.ControllerContext.RouteData), e); return(InternalServerError(e)); } }