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

            return(IsMapFavorite(info));
        }