Exemple #1
0
 public CohortsController(DataContext context, IMapper mapper, IUserService userService, ICohortService cohortService)
 {
     _context       = context;
     _mapper        = mapper;
     _userService   = userService;
     _cohortService = cohortService;
 }
Exemple #2
0
 public SchoolController(ISchoolsService schoolsService, ISchoolYearsService schoolYearsService, ISemestersService semestersService, IConfiguration config, ICohortService cohortService, IGradeService gradeService)
 {
     _schoolsService     = schoolsService;
     _schoolYearsService = schoolYearsService;
     _semestersService   = semestersService;
     _gradeService       = gradeService;
     _cohortService      = cohortService;
     _config             = config;
 }
Exemple #3
0
 public CohortViewModel()
 {
     _cohortService = Mvx.Resolve <ICohortService>();
     _settings      = Mvx.Resolve <ISettings>();
 }