Ejemplo n.º 1
0
        public async Task <IActionResult> GetAfiliacion([FromRoute] string Identificacion)
        {
            var result = await Task.Run(() => context.GetAllAfiliacion(Identificacion));

            if (result == null)
            {
                return(NotFound("services Id no Found"));
            }

            return(Ok(result));
        }