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

            return(IsMapFavorite(info));
        }