public MealsController(IMealService _mealService, IMealCategoryService _mealCategoryService, IRestaurantService _restaurantService, IMealTypeService _mealTypeService)
 {
     mealService         = _mealService;
     restaurantService   = _restaurantService;
     mealCategoryService = _mealCategoryService;
     mealTypeService     = _mealTypeService;
 }
Ejemplo n.º 2
0
 public MealTypeController(
     IMealTypeService mealTypeService,
     IMapper mapper)
 {
     _mealTypeService = mealTypeService;
     _mapper          = mapper;
 }
Ejemplo n.º 3
0
 public ServiceLocatorSchool(IServiceLocatorMaster serviceLocatorMaster)
     : base(serviceLocatorMaster.Context)
 {
     this.serviceLocatorMaster = serviceLocatorMaster;
     personService             = new PersonService(this);
     addressSerivce            = new AddressService(this);
     gradeLevelService         = new GradeLevelService(this);
     markingPeriodService      = new MarkingPeriodService(this);
     classService                  = new ClassService(this);
     schoolYearService             = new SchoolYearService(this);
     announcementQnAService        = new AnnouncementQnAService(this);
     announcementAttachmentService = new AnnouncementAttachmentService(this);
     phoneService                  = new PhoneService(this);
     privateMessageService         = new PrivateMessageService(this);
     roomService                          = new RoomService(this);
     periodService                        = new PeriodService(this);
     calendarDateService                  = new CalendarDateService(this);
     dayTypeService                       = new DayTypeService(this);
     classPeriodService                   = new ClassPeriodService(this);
     notificationService                  = new NotificationService(this);
     attendanceReasonService              = new AttendanceReasonService(this);
     attendanceService                    = new AttendanceService(this);
     studentParentService                 = new StudentParentService(this);
     studentAnnouncementService           = new StudentAnnouncementService(this);
     classClassAnnouncementTypeService    = new ClassClassAnnouncementTypeService(this);
     infractionService                    = new InfractionService(this);
     applicationSchoolService             = new ApplicationSchoolService(this);
     disciplineService                    = new DisciplineService(this);
     gradingStatisticService              = new GradingStatisticService(this);
     schoolService                        = new SchoolService(this);
     schoolPersonService                  = new SchoolPersonService(this);
     standardService                      = new StandardService(this);
     alphaGradeService                    = new AlphaGradeService(this);
     alternateScoreService                = new AlternateScoreService(this);
     gradingPeriodService                 = new GradingPeriodService(this);
     syncService                          = new SyncService(this);
     gradingStandardService               = new GradingStandardService(this);
     reportService                        = new ReportingService(this);
     gradingCommentService                = new GradingCommentService(this);
     gradingScaleService                  = new GradingScaleService(this);
     classroomOptionService               = new ClassroomOptionService(this);
     personEmailService                   = new PersonEmailService(this);
     schoolDbService                      = new DbService(Context != null ? Context.SchoolConnectionString : null);
     scheduledTimeSlotService             = new ScheduledTimeSlotService(this);
     studentService                       = new StudentService(this);
     staffService                         = new StaffService(this);
     userSchoolService                    = new UserSchoolService(this);
     bellScheduleService                  = new BellScheduleService(this);
     practiceGradeService                 = new PracticeGradeService(this);
     attendanceMonthService               = new AttendanceMonthService(this);
     gradedItemService                    = new GradedItemService(this);
     announcementAttributeService         = new AnnouncementAttributeService(this);
     announcementAssignedAttributeService = new AnnouncementAssignedAttributeService(this);
     contactService                       = new ContactService(this);
     teacherCommentService                = new TeacherCommentService(this);
     dbMaintenanceService                 = new DbMaintenanceService(this);
     groupService                         = new GroupService(this);
     courseTypeService                    = new CourseTypeService(this);
     settingsService                      = new SettingsService(this);
     lpGalleryCategoryService             = new LPGalleryCategoryService(this);
     lessonPlanService                    = new LessonPlanService(this);
     classAnnouncementService             = new ClassAnnouncementService(this);
     adminAnnouncementService             = new AdminAnnouncementService(this);
     announcementFetchService             = new AnnouncementFetchService(this);
     leService                       = new LEService(this);
     attachementService              = new AttachmentService(this);
     personSettingService            = new PersonSettingService(this);
     studentCustomAlertDetailService = new StudentCustomAlertDetailService(this);
     panoramaSettingsService         = new PanoramaSettingsService(this);
     standardizedTestService         = new StandardizedTestService(this);
     supplementalAnnouncementService = new SupplementalAnnouncementService(this);
     ethnicityService                = new EthnicityService(this);
     languageService                 = new LanguageService(this);
     countryService                  = new CountryService(this);
     announcementCommentService      = new AnnouncementCommentService(this);
     appSettingService               = new AppSettingService(this);
     limitedEnglishService           = new LimitedEnglishService(this);
     schoolProgramService            = new SchoolProgramService(this);
     studentSchoolProgramService     = new StudentSchoolProgramService(this);
     mealTypeService                 = new MealTypeService(this);
     lunchCountService               = new LunchCountService(this);
 }