Beispiel #1
0
 public AmendmentController(IAmendmentService amendmentService, IAmendmentBodyService amendmentBodyService, IMapper mapper, IReadOnlyDataService <Language> languageDataService)
 {
     _amendmentService     = amendmentService;
     _amendmentBodyService = amendmentBodyService;
     _mapper = mapper;
     _languageDataService = languageDataService;
 }
 public ProductController(
     IReadOnlyDataService <Product, GetProductModel> dataService,
     IProductReviewService productReviewService)
     : base(dataService)
 {
     ProductReviewService = productReviewService ?? throw new ArgumentNullException(nameof(productReviewService));
 }
Beispiel #3
0
 public ScreenHub(IHttpContextAccessor httpContextAccessor, IAmendmentService amendmentService, IMapper mapper
                  , IReadOnlyDataService <Language> languageService, ISystemSettingService systemSettingService) : base(systemSettingService)
 {
     _httpContextAccessor = httpContextAccessor;
     _amendmentService    = amendmentService;
     _mapper          = mapper;
     _languageService = languageService;
 }
Beispiel #4
0
 public ReadOnlyDataController(IReadOnlyDataService <TEntity, TGetModel> dataService)
 {
     DataService = dataService ?? throw new ArgumentNullException(nameof(dataService));
 }