Beispiel #1
0
 public async Task <Paginated <Plano> > ObterPlanosPaginados(Pagination pagination)
 {
     return(await _planoRepository.ObterPlanos(pagination));
 }
Beispiel #2
0
        public IActionResult GetPlanos()
        {
            var id = Request.Query["handler"];

            return(Json(_planoRepository.ObterPlanos((TipoCliente)Convert.ToInt32(id))));;
        }