public void SetUp()
 {
     SqlServerDataHelper.DeleteAllData();
     _repo = new LocationRepository();
 }
 public void CreateLocationPortland()
 {
     var locRepo = new LocationRepository();
     locRepo.CreateLocation(LocationPortland);
 }
        private CreateProfileModel CreateViewModel()
        {
            var sports = new SportRepository().GetNamesOfAllSports();
            var locations = new LocationRepository().GetNamesOfAllLocations();

            var availableSports = new SelectList(sports);
            var availableLocations = new SelectList(locations);

            var viewModel = new CreateProfileModel
                                {
                                    AvailableSports = availableSports,
                                    AvailableLocations = availableLocations,
                                    AvailableSkillLevels = new SelectList(new SkillLevelProvider().GetListOfAvailableSkillLevels())
                                };
            return viewModel;
        }
 public void CreateLocationBend()
 {
     var locRepo = new LocationRepository();
     locRepo.CreateLocation(LocationBendName);
 }