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)); }
public LogHub(ILogBookService logBookService, IAccountService accountService) { this.logBookService = logBookService ?? throw new ArgumentNullException(nameof(logBookService)); this.accountService = accountService ?? throw new ArgumentNullException(nameof(accountService)); }
public LogBookController(ILogBookService logBookService) { _logBookService = logBookService; }