private bool AddSkillIfNotExists(Skill s)
        {
            if (CurrentSkillCollection.Any(x => x.SkillName == s.Name))
            {
                return(false);
            }

            if (!s.IsEmpty())
            {
                WorkName.Value = s.WorkName;
            }

            CurrentSkillCollection.Add(new SkillCountDetailEntity()
            {
                SkillName      = s.Name,
                SkillShortName = s.ShortName,
                WorkName       = s.WorkName,
            });

            return(true);
        }
        private async Task SaveSkillCountAsync()
        {
            if (!CurrentSkillCollection.Any())
            {
                return;
            }

            var entity = new SkillCountEntity()
            {
                RecordDate       = DateTime.Now,
                MapName          = MapName.Value,
                WorkName         = WorkName.Value,
                Details          = CurrentSkillCollection.ToList(),
                SkillUseHitories = SkillUseCollection.ToList()
            };

            await _skillCountRepository.SaveAsync(entity);

            // 履歴に追加
            SkillCountHistories.AddOnScheduler(entity);

            // スキル使用履歴を
            SkillUseCollection.Clear();
        }