Example #1
0
        public EmployeeService(HrSystemDb hrSystemDb, IAccountService accountService, IDocumentService documentService)
        {
            ArgumentHelper.EnsureNotNull(nameof(hrSystemDb), hrSystemDb);
            ArgumentHelper.EnsureNotNull(nameof(accountService), accountService);
            ArgumentHelper.EnsureNotNull(nameof(documentService), documentService);

            _db              = hrSystemDb;
            _accountService  = accountService;
            _documentService = documentService;
        }
Example #2
0
        public AttributeInfoService(HrSystemDb db)
        {
            ArgumentHelper.EnsureNotNull(nameof(db), db);

            _db = db;
        }