public EventController(IEventBusiness eventBusiness, ICommonBusiness commonBusiness, ICategoriesBusiness categoryBusiness, IMasterBusiness masterBusiness) { _eventBusiness = eventBusiness; _commonBusiness = commonBusiness; _categoryBusiness = categoryBusiness; _masterBusiness = masterBusiness; }
public PivotService( IUserBusiness userBusiness, IEventBusiness eventBusiness) { this.userBusiness = userBusiness; this.eventBusiness = eventBusiness; SetAutoMapperMappings(); }
public CustomerController(ICustomerBusiness customerBusiness, IMasterBusiness masterBusiness, ICommonBusiness commonBusiness, IEventBusiness eventBusiness, ICart_WishlistBusiness cartwishlistBusiness, IOrderBusiness orderBusiness, IQuotationsBusiness quotationBusiness, IBookingsBusiness bookingsBusiness) { _customerBusiness = customerBusiness; _commonBusiness = commonBusiness; _eventBusiness = eventBusiness; _masterBusiness = masterBusiness; _cartwishlistBusiness = cartwishlistBusiness; _orderBusiness = orderBusiness; _quotationBusiness = quotationBusiness; _bookingsBusiness = bookingsBusiness; }
public void Setup() { DbContextOptionsBuilder optionsBuilder = new DbContextOptionsBuilder <RdxDBContext>(); optionsBuilder.UseSqlServer(ConnectionString); context = new RdxDBContext(optionsBuilder.Options); repository = new DeviceEventRepository(context); validator = new DeviceEventDTOValidator(); business = new EventBusiness(validator, repository); }
public ExcelService( IEventBusiness events, IEmailService emailService, IRazorPartialToStringRenderer renderer, IHostingEnvironment env, IUserBusiness userBusiness) { _events = events; _emailService = emailService; _renderer = renderer; _env = env; _userBusiness = userBusiness; }
public EventsController( IEventBusiness events, IUserBusiness user, IAuthorizationService authorizationService, IRazorPartialToStringRenderer renderer, IEmailService emailService, IConfiguration configuration, IOptions <PagingOptions> defaultPagingOptionsWrapper) { _event = events; _user = user; _authzService = authorizationService; _renderer = renderer; _emailService = emailService; _configuration = configuration; _defaultPagingOptions = defaultPagingOptionsWrapper.Value; }
public TaskController( IHostingEnvironment env, IEventBusiness eventBusiness, IReportBusiness report, IRazorPartialToStringRenderer renderer, IEmailService emailService, IAuthorizationService authorizationService, IUserBusiness user, IConfiguration configuration, IOptions <PagingOptions> defaultPagingOptionsWrapper) { _env = env; _event = eventBusiness; _report = report; _renderer = renderer; _emailService = emailService; _authzService = authorizationService; _user = user; _configuration = configuration; _defaultPagingOptions = defaultPagingOptionsWrapper.Value; }
public EventsController(IEventBusiness <Event> business, ILogger <UsersController> logger) : base(logger) { _business = business; }
public EventsController(IEventBusiness business) { _business = business; }
public EventController(IEventBusiness eventBusiness) { eventBusiness.ThrowIfNull(nameof(eventBusiness)); _eventBusiness = eventBusiness; }
public EventController(IEventRequestBusiness eventRequestBusiness, ICommonBusiness commonBusiness, IEventBusiness eventBusiness) { _eventRequestBusiness = eventRequestBusiness; _commonBusiness = commonBusiness; _eventBusiness = eventBusiness; }