public HomeController(ApplicationDbContext db) { dataBaseConnection = db; UserService = new UserService(dataBaseConnection); CreativeService = new CreativeService(dataBaseConnection); TagService = new TagService(dataBaseConnection); }
public UserController(ApplicationDbContext DataBaseConnection) { this.dataBaseConnection = DataBaseConnection; CreativeService = new CreativeService(dataBaseConnection); UserService = new UserService(dataBaseConnection); CloudinaryService = new CloudinaryService(dataBaseConnection); }
public PlacementsController(IPlacementService placementService, IStrategyService strategyService, ICreativeService creativeService, IMappingEngine mapping) { _placementService = placementService; _strategyService = strategyService; _creativeService = creativeService; _mapping = mapping; }
public PlacementService(IRepositoryAsync <Placement> placementRepositoryAsync, IStrategyService strategyService, ICreativeService creativeService, IClock clock, IBrandscreenContext brandscreenContext) { _placementRepositoryAsync = placementRepositoryAsync; _strategyService = strategyService; _creativeService = creativeService; _clock = clock; _brandscreenContext = brandscreenContext; }
public CreativesController(ICreativeService creativeService, ICreativeSizeService creativeSizeService, IBrandService brandService, IAdTagTemplateService adTagTemplateService, IVastService vastService, IMappingEngine mapping, IClock clock) { _creativeService = creativeService; _creativeSizeService = creativeSizeService; _brandService = brandService; _adTagTemplateService = adTagTemplateService; _vastService = vastService; _mapping = mapping; _clock = clock; Logger = NullLogger.Instance; }
//for tests public UserController(ICreativeService CreativeService, IUserService UserService, ICloudinaryService CloudinaryService) { this.CreativeService = CreativeService; this.UserService = UserService; this.CloudinaryService = CloudinaryService; }
// for tests public AdminController(IUserService UserService, ICreativeService CreativeService) { this.UserService = UserService; this.CreativeService = CreativeService; }
public AdminController(ApplicationDbContext DataBaseConnection) { this.DataBaseConnection = DataBaseConnection; CreativeService = new CreativeService(DataBaseConnection); UserService = new UserService(DataBaseConnection); }
// for tests public HomeController(ICreativeService CreativeService, IUserService UserService, ITagService TagService) { this.UserService = UserService; this.CreativeService = CreativeService; this.TagService = TagService; }
public CreativesController(ICreativeService service) { this.service = service; }
public AdminController(IAdminService service, ICreativeService creativeService, IAccountService authService) { this.service = service; this.creativeService = creativeService; this.authService = authService; }