public async Task <IEnumerable <LeccionDetalleVM> > GetLeccionesDetalleAsync(int?idNivel, int?idLineaCarrera, int?idEtapa, int?idCurso, string search)
        {
            var leccionesEntities = await leccionRepository.GetLeccionesDetalleAsync(idNivel, idLineaCarrera, idEtapa, idCurso, search);

            var leccionesVM = mapper.Map <IEnumerable <LeccionDetalleVM> >(leccionesEntities);

            return(leccionesVM);
        }