Esempio n. 1
0
 public LogBookController(ILogBookService logBookService, IUserHelper userHelper,
                          IMappingProvider mapper)
 {
     this.logBookService = logBookService ?? throw new ArgumentNullException(nameof(logBookService));
     this.userHelper     = userHelper ?? throw new ArgumentNullException(nameof(userHelper));
     this.mapper         = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Esempio n. 2
0
 public LogHub(ILogBookService logBookService, IAccountService accountService)
 {
     this.logBookService = logBookService ?? throw new ArgumentNullException(nameof(logBookService));
     this.accountService = accountService ?? throw new ArgumentNullException(nameof(accountService));
 }
Esempio n. 3
0
 public LogBookController(ILogBookService logBookService)
 {
     _logBookService = logBookService;
 }