public ActionResult <IEnumerable <RegionSet> > GetSharedRegionSets(string searchTerm = null) { var userId = User.GetUserId(); var sharedRegionSets = _worldService.GetEditableRegionSets(userId, searchTerm); if (sharedRegionSets != null && sharedRegionSets.Any()) { sharedRegionSets = sharedRegionSets.OrderByDescending(srs => srs.LastEdit).ToList(); } return(Ok(sharedRegionSets)); }