예제 #1
0
 public CommonMealRegistrationService(ICommonMealRegistrationRepository registrationRepository, ICommonMealRepository mealRepository, ITimeProvider timeProvider, ICommonMealSettings commonMealSettings)
 {
     _registrationRepository = registrationRepository;
     _mealRepository         = mealRepository;
     _timeProvider           = timeProvider;
     _commonMealSettings     = commonMealSettings;
 }
 public CommonMealRepository(ISqlRepositoryConnectionFactory connectionFactory, ICommonMealRegistrationRepository commonMealRegistrationRepository, ICommonMealChefRepository commonMealChefRepository)
 {
     _connectionFactory = connectionFactory;
     _commonMealRegistrationRepository = commonMealRegistrationRepository;
     _commonMealChefRepository         = commonMealChefRepository;
 }