public static async Task <BeatmapContext> CreateAsync(Beatmap beatmap) { return(new BeatmapContext(beatmap) { BeatmapSettings = _operator.GetMapFromDb(beatmap.GetIdentity()), }); }
private bool IsMapFavorite(MapIdentity identity) { var info = _appDbOperator.GetMapFromDb(identity); return(IsMapFavorite(info)); }