예제 #1
0
 /// <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="JournalEntryTypeService"/> class.
 /// </summary>
 /// <param name="journalEntryTypeService">The journal entry type service.</param>
 public JournalEntryTypeService(IJournalEntryTypeService journalEntryTypeService)
 {
     this.journalEntryTypeService = journalEntryTypeService;
 }