예제 #1
0
 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;
	    }