public DIetaryManagementService(IMessageHandler feedbackHandler, IDietaryManagementRepository dietaryManagementRepository, IMessageSerializer messageSerializer, IQueryHelper queryHelper) { this.FeedbackHandler = feedbackHandler; _dietaryManagmentRepository = dietaryManagementRepository; _messageSerializer = messageSerializer; _queryHelper = queryHelper; }
public PatientService(IPatientRepository patientRepository, IFoodRepository foodRepository, IAccountRepository accountRepository, IDietaryManagementRepository dietaryManagementRepository, IMessageHandler feedbackHandler, IMessageSerializer messageSerializer, IQueryHelper queryHelper, IAuthorization authorizationService) { _patientRepository = patientRepository; this._foodRepository = foodRepository; this._accountRepository = accountRepository; this._dietaryManagementRepository = dietaryManagementRepository; this.FeedbackHandler = feedbackHandler; _messageSerializer = messageSerializer; _queryHelper = queryHelper; this._authorizationService = authorizationService; }