public async Task <IActionResult> GetAll()
        {
            var result = await service.GetAllAsync();

            return(Ok(result));
        }
        public async Task <ActionResult <IEnumerable <IdiomaViewModel> > > Get(string?search)
        {
            var idiomaEntities = await _idiomaService.GetAllAsync(search);

            return(Ok(_mapper.Map <IEnumerable <IdiomaViewModel> >(idiomaEntities)));
        }