Beispiel #1
0
        public async Task <IActionResult> GETListaPersonalGAP(int COD_GAP)
        {
            try
            {
                {
                    var identity  = HttpContext.User.Identity as ClaimsIdentity;
                    int idUsuario = JwtConfigurator.GetTokenIdUsuario(identity);

                    var ListaPersonal = await _PersonalService.ListarPersonal_GAP(COD_GAP);

                    return(Ok(ListaPersonal));
                }
            }
            catch (Exception ex)
            {
                return(BadRequest(ex.Message));
            }
        }