Пример #1
0
 public WebMasterController(IAuthorizationService authorizationService, IWebMasterTypeService webMasterTypeService, IWebMasterService webMasterService, IUnitOfWork unitOfWork)
 {
     _authorizationService = authorizationService;
     _webMasterService     = webMasterService;
     _webMasterTypeService = webMasterTypeService;
     _unitOfWork           = unitOfWork;
 }
 public AdvertisementContentController(IAuthorizationService authorizationService, IWebMasterService webMasterService, IHostingEnvironment hostingEnvironment, IAdvertisementPositionService advertisementPositionService, IAdvertiserService advertiserService, IAdvertisementContentService advertisementContentService, IUnitOfWork unitOfWork)
 {
     _authorizationService         = authorizationService;
     _advertisementContentService  = advertisementContentService;
     _advertisementPositionService = advertisementPositionService;
     _advertiserService            = advertiserService;
     _hostingEnvironment           = hostingEnvironment;
     _webMasterService             = webMasterService;
     _unitOfWork = unitOfWork;
 }
Пример #3
0
 public WebMasterController(IWebMasterService webMasterService, ILogger <WebMasterController> logger)
 {
     _webMasterService = webMasterService;
     _logger           = logger;
 }