public async Task <ActionResult <IEnumerable <PlatformReturnDto> > > GetAllPlatforms() { var platformItems = await _repo.GetAllPlatforms(); var platformMaps = _mapper.Map <IEnumerable <PlatformReturnDto> >(platformItems); return(Ok(platformMaps)); }