Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BaseController"/> class.
 /// AController
 /// </summary>
 /// <param name="ds">uow</param>
 /// <param name="eventService">eventService</param>
 protected BaseController(ITuiDataServices ds, ITuiIntegrationEventService eventService)
 {
     this.DataService = ds;
     this.TuiIntegrationEventService = eventService;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HomeController"/> class.
 /// Constructor
 /// </summary>
 /// <param name="logger">logger</param>
 /// <param name="dataService">dataService</param>
 /// <param name="eventService">eventService</param>
 public HomeController(ILogger <HomeController> logger, ITuiDataServices dataService, ITuiIntegrationEventService eventService)
     : base(dataService, eventService)
 {
     this._logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }