public EducationService(IExerciseService exerciseService, ICourseCategoryService courseService, IJournalEntryService journalEntryService, IUnitOfWorkFactory unitOfWorkFactory) { _exerciseService = exerciseService; _courseService = courseService; _journalEntryService = journalEntryService; _systemUnitOfWork = unitOfWorkFactory.CreateSystem(); }
/// <summary> /// Initializes a new instance of the <see cref="AccountingManager" /> class. /// </summary> /// <param name="loginService"> /// The login service. /// </param> /// <param name="companyService"> /// The company service. /// </param> /// <param name="journalEntryTypeService"> /// The journal entry type service. /// </param> /// <param name="journalEntryService"> /// The journal entry service. /// </param> public AccountingManager(ILoginService loginService, ICompanyService companyService, IJournalEntryTypeService journalEntryTypeService, IJournalEntryService journalEntryService) { this.loginService = loginService; this.journalEntryTypeService = journalEntryTypeService; this.companyService = companyService; this.journalEntryService = journalEntryService; }
/// <summary> /// Initializes a new instance of the <see cref="JournalEntryService"/> class. /// </summary> /// <param name="journalEntryService">The journal entry service.</param> public JournalEntryService(IJournalEntryService journalEntryService) { this.journalEntryService = journalEntryService; }