public ContractServicesController(ICommandProcessor commandProcessor, IQueryProcessor queryProcessor, ICurrentUserFactory currentUserFactory, IResultMessagesFactory resultMessagesFactory) { _commandProcessor = commandProcessor; _queryProcessor = queryProcessor; _currentUserFactory = currentUserFactory; _resultMessagesFactory = resultMessagesFactory; }
public OwnersController(ApplicationDbContext context, IUserHelper userHelper, ICurrentUserFactory currentUser, IRoleManager roleManager) : base(context, userHelper, currentUser) { _roleManager = roleManager; _userHelper = userHelper; recordHelper = new RecordsHelper(context); }
public DataContext( DbContextOptions <DataContext> options, ICurrentUserFactory currentUser = null ) : base(options) { _currentUser = currentUser; }
public ApplicationDbContext( DbContextOptions <ApplicationDbContext> options, ICurrentUserFactory currentUser = null ) : base(options) { _currentUser = currentUser; }
public AvatarController( IUsersProvider userProvider, ICurrentUserFactory userFactory) : base(userFactory) { _userProvider = userProvider; }
public PsBaseController(ApplicationDbContext context, IUserHelper userHelper, ICurrentUserFactory currentUser) { Context = context; UserHelper = userHelper; MyCurrentUser = currentUser; }
public PsBaseController(ApplicationDbContext context, IUserHelper userHelper, ICurrentUserFactory currentUser) { Context = context; UserHelper = userHelper; GenericSelectList = new GenericSelectList(); MyCurrentUser = currentUser; }
public LotteriesController(ApplicationDbContext context, IUserHelper userHelper, ICurrentUserFactory currentUser, IServiceProvider serviceProvider, LotterySaleRepository lotterySaleRepository, IHubContext <NotificationHub> notificationHubContext) : base(context, userHelper, currentUser, serviceProvider) { _notificationHubContext = notificationHubContext; _repository = lotterySaleRepository; }
public ProjectController(IProjectProvider projectProvider, ProjectMapper projectMapper, ICurrentUserFactory userFactory) : base(userFactory) { _projectProvider = projectProvider; _projectMapper = projectMapper; }
public QuoteController(ICommandProcessor commandProcessor , IQueryProcessor queryProcessor , ICurrentUserFactory currentUserFactory) { _commandProcessor = commandProcessor; _queryProcessor = queryProcessor; _currentUserFactory = currentUserFactory; }
public ProfileController( IProfileProvider profileProvider, ProfileMapper profileMapper, ICurrentUserFactory userFactory) : base(userFactory) { _profileProvider = profileProvider; _profileMapper = profileMapper; }
public PsBaseController(ApplicationDbContext context, IUserHelper userHelper, ICurrentUserFactory currentUser, IServiceProvider serviceProvider, IGenericSelectList genericSelectList) { Context = context; UserHelper = userHelper; GenericSelectList = genericSelectList; MyCurrentUser = currentUser; _serviceProvider = serviceProvider; }
public HomeController(ApplicationDbContext context, IUserHelper userHelper, ICurrentUserFactory currentUser, IConfiguration configuration, LotterySaleRepository repository, IHubContext <NotificationHub> notificationHubContext) : base(context, userHelper, currentUser) { // _context = context; // _contextFromClasic = contextFromClasic; _configuration = configuration; _repository = repository; recordHelper = new RecordsHelper(context); _notificationHubContext = notificationHubContext; }
public HomeController( ITraineeProvider traineeProvider, IProjectProvider projectProvider, WordTransformer wordTransformer, ICurrentUserFactory userFactory) : base(userFactory) { _traineeProvider = traineeProvider; _projectProvider = projectProvider; _wordTransformer = wordTransformer; }
private ProfileController CreateProfileController(ICurrentUserFactory fakeFactory) { NewScope(); var profileProvider = Kernel.Get <IProfileProvider>(); var profileMapper = Kernel.Get <ProfileMapper>(); return(new ProfileController( profileProvider, profileMapper, fakeFactory)); }
public UserController(ICurrentUserFactory userFactory, IUsersProvider userProvider, IRoleProvider roleProvider, IDetailedInfoBuilder detailsBuilder, UserMapper userMapper) : base(userFactory) { _userProvider = userProvider; _roleProvider = roleProvider; _detailsBuilder = detailsBuilder; _userMapper = userMapper; }
public TraineeController( ITraineeProvider traineeProvider, ITraineeReviewProvider traineeReviewProvider, IUsersProvider usersProvider, TraineeMapper traineeMapper, TraineeReviewMapper traineeReviewMapper, ICurrentUserFactory userFactory) : base(userFactory) { _traineeProvider = traineeProvider; _traineeMapper = traineeMapper; _usersProvider = usersProvider; _traineeReviewProvider = traineeReviewProvider; _traineeReviewMapper = traineeReviewMapper; }
// private readonly IBlobHelper _blobHelper; public AccountController(ApplicationDbContext context, IUserHelper userHelper, ICurrentUserFactory currentUser, IConfiguration configuration, IMailHelper mailHelper // , IBlobHelper blobHelper ) : base(context, userHelper, currentUser) { // UserHelper = userHelper; _mailHelper = mailHelper; this._configuration = configuration; _userHelper = userHelper; _configuration = configuration; // _blobHelper = blobHelper; _mailHelper = mailHelper; }
public TestService(ICommandProcessor commandProcessor, IQueryProcessor queryProcessor, ICurrentUserFactory currentUserFactory) { if (currentUserFactory == null) { throw new ArgumentNullException("CurrentUserFactory cannot be null"); } if (commandProcessor == null) { throw new ArgumentNullException("Command Processor cannot be null"); } if (queryProcessor == null) { throw new ArgumentNullException("Query Processor cannot be null"); } _currentUserFactory = currentUserFactory; _commandProcessor = commandProcessor; _queryProcessor = queryProcessor; }
public MentorController( IUsersProvider usersProvider, ITraineeProvider traineeProvider, ProjectMapper projectMapper, IMentorReviewProvider reviewProvider, IMentorProvider mentorProvider, MentorReviewMapper reviewMapper, MentorMapper mentorMapper, ICurrentUserFactory userFactory) : base(userFactory) { _mentorProvider = mentorProvider; _usersProvider = usersProvider; _traineeProvider = traineeProvider; _mentorMapper = mentorMapper; _reviewProvider = reviewProvider; _projectMapper = projectMapper; _reviewMapper = reviewMapper; }
public ScrumMasterController( IScrumReviewProvider scrumReviewProvider, IScrumMasterProvider scrumMasterProvider, IGroupProvider groupProvider, IProjectProvider projectProvider, ScrumReviewMapper scrumMasterMapper, GroupMapper groupMapper, ProjectMapper projectMapper, ICurrentUserFactory userFactory) : base(userFactory) { _scrumReviewProvider = scrumReviewProvider; _scrumMasterProvider = scrumMasterProvider; _scrumMasterMapper = scrumMasterMapper; _groupProvider = groupProvider; _projectProvider = projectProvider; _groupMapper = groupMapper; _projectMapper = projectMapper; }
protected BaseController(ICurrentUserFactory userFactory) { _userFactory = userFactory; }
public OriginController(ICurrentUserFactory currentUser) { _apiService = new ApiService(); _currentUser = currentUser; }
public PeriodicitiesController(ApplicationDbContext context, IUserHelper userHelper, ICurrentUserFactory currentUser, IRoleManager roleManager, IGenericSelectList genericSelectList) : base(context, userHelper, currentUser, genericSelectList) { _roleManager = roleManager; recordHelper = new RecordsHelper(context); }
public HomeController(ApplicationDbContext context, IUserHelper userHelper, ICurrentUserFactory currentUser, IConfiguration configuration) : base(context, userHelper, currentUser) { this.configuration = configuration; }
public ConfigurationsController(ApplicationDbContext context, IUserHelper userHelper, ICurrentUserFactory currentUser) : base(context, userHelper, currentUser) { }
public EventsController(DataContext context, ICurrentUserFactory currentUserFactory) { _context = context; _currentUser = currentUserFactory; }
public HomeController( ICurrentUserFactory currentUser ) { _currentUser = currentUser; }
public NavigationController(ICurrentUserFactory userFactory) : base(userFactory) { }