public IActionResult GetUserMaps() { var model = new MapListViewModel(); mapRepository.GetAllMaps(); model.Maps = mapRepository.Maps; return(PartialView("_MapList", model)); }