예제 #1
0
 protected internal TrainingsPage(ITrainingsRepository trainingsRepository, ITimetableEntriesRepository timetableEntriesRepository,
                                  ITrainingCategoriesRepository trainingCategoriesRepository, ICoachesRepository coachesRepository,
                                  ITrainingTypesRepository trainingTypesRepository, ILocationsRepository locationsRepository) : base(trainingsRepository)
 {
     PageTitle          = "Treeningud";
     TimetableTrainings = new List <TimetableEntryView>();
     timetableTrainings = timetableEntriesRepository;
     TrainingCategories = CreateSelectList <TrainingCategory, TrainingCategoryData>(trainingCategoriesRepository);
     TrainingTypes      = CreateSelectList <TrainingType, TrainingTypeData>(trainingTypesRepository);
     Locations          = CreateSelectList <Location, LocationData>(locationsRepository);
     Coaches            = CreateSelectList <Coach, CoachData>(coachesRepository);
 }
예제 #2
0
 public DeleteModel(ITrainingCategoriesRepository trainingCategoriesRepository) : base(trainingCategoriesRepository)
 {
 }
예제 #3
0
 internal TestClass(ITrainingCategoriesRepository t) : base(t)
 {
 }
예제 #4
0
 public IndexModel(ITrainingCategoriesRepository trainingCategoriesRepository) : base(trainingCategoriesRepository)
 {
 }
예제 #5
0
 internal TestClass(ITrainingsRepository r, ITimetableEntriesRepository timetableEntriesRepository, ITrainingCategoriesRepository trainingCategoriesRepository,
                    ICoachesRepository coachesRepository, ITrainingTypesRepository trainingTypesRepository, ILocationsRepository locationsRepository)
     : base(r, timetableEntriesRepository, trainingCategoriesRepository, coachesRepository, trainingTypesRepository, locationsRepository)
 {
 }
예제 #6
0
 public EditModel(ITrainingsRepository trainingsRepository, ITimetableEntriesRepository timetableEntriesRepository,
                  ITrainingCategoriesRepository trainingCategoriesRepository, ICoachesRepository coachesRepository, ITrainingTypesRepository trainingTypesRepository,
                  ILocationsRepository locationsRepository) : base(trainingsRepository, timetableEntriesRepository, trainingCategoriesRepository, coachesRepository, trainingTypesRepository, locationsRepository)
 {
 }
예제 #7
0
 public EditModel(ITrainingCategoriesRepository trainingCategoriesRepository) : base(trainingCategoriesRepository)
 {
 }