Example #1
0
        private void LoadMockSkills()
        {
            foreach (var item in _skillRepository.GetAll())
            {
                _skillRepository.DeletePhysical(item.Id);
            }

            string[] skills =
            {
                "Angular",              "React",     "Java Script", "Type Script",
                "HTML 5",               "CSS/Sass",  "Bootstrap",
                ".net C#",              ".net Core",
                "Java",                 "PHP",       "NodeJS",      "Scrum",      "Sql","DevOps",
                "User Experience (UX)", "User Interface (UI)"
            };

            foreach (var name in skills)
            {
                _skillService.Insert(new Skill()
                {
                    Name = name
                });
            }
        }