public async Task <ActionResult <IEnumerable <ModeloDTO> > > Get([FromQuery] ModeloQueryFilter filters)
        {
            var modelos = await _modeloService.GetModelos(filters);

            var modelosDTO = _mapper.Map <IEnumerable <ModeloDTO> >(modelos);
            var metadata   = new MetaData().BuildMeta <Modelo>(modelos, filters, Request.Path.Value, _uriService);
            var response   = new ApiResponse <IEnumerable <ModeloDTO> >(modelosDTO)
            {
                Meta = metadata
            };

            Request.Headers.Add("X-Pagination", JsonConvert.SerializeObject(metadata));
            return(Ok(response));
        }
        public ActionResult Index()
        {
            var result = _ModeloService.GetModelos();

            return(View(result.Data));
        }