예제 #1
0
        public async Task <ActionResult <List <QuadroModel> > > Get([FromServices] RhNetContext rhNetContext)
        {
            QuadroRepository repository = new QuadroRepository();

            return(await repository.Get(rhNetContext));
        }
예제 #2
0
 public async Task <IHttpActionResult> Get()
 {
     return(Ok(await repository.Get(rhNetContext)));
 }