public CommonMealRepository(ISqlRepositoryConnectionFactory connectionFactory, ICommonMealRegistrationRepository commonMealRegistrationRepository, ICommonMealChefRepository commonMealChefRepository) { _connectionFactory = connectionFactory; _commonMealRegistrationRepository = commonMealRegistrationRepository; _commonMealChefRepository = commonMealChefRepository; }
public CommonMealChefService(ICommonMealChefRepository chefRepository, ICommonMealRepository mealRepository, ITimeProvider timeProvider) { _chefRepository = chefRepository; _mealRepository = mealRepository; _timeProvider = timeProvider; }