public Handler(IAppDbRepository appDbRepository, INotificationService notificationService)
 {
     _appDbRepository = appDbRepository ??
                        throw new ArgumentNullException(nameof(appDbRepository));
     _notificationService =
         notificationService ?? throw new ArgumentNullException(nameof(notificationService));
 }
示例#2
0
 public SeedUsers(
     IAppDbRepository appRepository,
     UserManager <User> userManager)
 {
     this._appRepository = appRepository;
     this._userManager   = userManager;
 }
示例#3
0
		public SeedUsers(
			IAppDbRepository appRepository,
			UserManager<User> userManager)
		{
			this._appRepository = appRepository;
			this._userManager = userManager;
		}
示例#4
0
	    public DataController(
			IAppDbRepository appRepository,
			IEmailSender emailSender,
			ISmsSender smsSender)
	    {
		    this._appRepository = appRepository;
		    this._emailSender = emailSender;
		    this._smsSender = smsSender;
	    }
示例#5
0
 public DataController(
     IAppDbRepository appRepository,
     IEmailSender emailSender,
     ISmsSender smsSender)
 {
     this._appRepository = appRepository;
     this._emailSender   = emailSender;
     this._smsSender     = smsSender;
 }
 public FeedController(ILogger <FeedController> logger,
                       IAppDbRepository repo,
                       IFeedManagementService feedManagementService,
                       UserManager <User> userManager)
 {
     _logger = logger;
     _repo   = repo;
     _feedManagementService = feedManagementService;
     _userManager           = userManager;
 }
示例#7
0
        //public UserController(IUserManager userManager, IRepository<User> userRepository)
        public UserController(IAppDbRepository <User> userRepository
                              , IUserRepository userRepository1
                              , IUserManager userManager
                              , IAppConfigRepository appConfigRepository
                              , IQueryHandler <GetUserByIdQuery, User> userByIdHandler
                              , ICommandHandler <DeleteUserByIdCommand, bool> deleteUserByIdHandler)

        {
            _userManager           = userManager;
            _userRepository        = userRepository1;
            _appDbRepository       = userRepository;
            _appConfigRepository   = appConfigRepository;
            _userByIdHandler       = userByIdHandler;
            _deleteUserByIdHandler = deleteUserByIdHandler;
        }
示例#8
0
 public Handler(IAppDbRepository appDbRepository)
 {
     _appDbRepository = appDbRepository ??
                        throw new ArgumentNullException(nameof(appDbRepository));
 }
示例#9
0
 public FacilityService()
 {
     _appdb = MvcApplication.Container.GetInstance <IAppDbRepository>();
 }
示例#10
0
 public SeedPostedAnswers(IAppDbRepository appRepository)
 {
     this._appRepository = appRepository;
 }
示例#11
0
 public ReservationService()
 {
     ContactManager = new ContactManager();
     EmailHelper    = new Emailer();
     _appdb         = MvcApplication.Container.GetInstance <IAppDbRepository>();
 }
示例#12
0
 public SeedFeedEntries(IAppDbRepository appRepository)
 {
     this._appRepository = appRepository;
 }
示例#13
0
		public SeedFeedEntries(IAppDbRepository appRepository)
		{
			this._appRepository = appRepository;
		}
示例#14
0
		public SeedPostedAnswers(IAppDbRepository appRepository)
		{
			this._appRepository = appRepository;
		}
示例#15
0
 public NavigationController(IAppDbRepository appRepository)
 {
     this._appRepository = appRepository;
 }
示例#16
0
		public NavigationController(IAppDbRepository appRepository)
	    {
		    this._appRepository = appRepository;
	    }