Exemple #1
0
 public async Task <IHttpActionResult> Get()
 {
     return(Ok(await repository.Get(rhNetContext)));
 }
Exemple #2
0
        public async Task <ActionResult <List <Ato_NormativoModel> > > Get([FromServices] RhNetContext rhNetContext)
        {
            Ato_NormativoRepository repository = new Ato_NormativoRepository();

            return(await repository.Get(rhNetContext));
        }