public CohortsController(DataContext context, IMapper mapper, IUserService userService, ICohortService cohortService) { _context = context; _mapper = mapper; _userService = userService; _cohortService = cohortService; }
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; }
public CohortViewModel() { _cohortService = Mvx.Resolve <ICohortService>(); _settings = Mvx.Resolve <ISettings>(); }