public async Task <IEnumerable <DatasetModel> > GetAllAsync() { var datasets = await _datasetRepository.GetAllAsync(); return(_mapper.Map <IEnumerable <DatasetModel> >(datasets.ToList())); }