public Handler(IAppDbRepository appDbRepository, INotificationService notificationService) { _appDbRepository = appDbRepository ?? throw new ArgumentNullException(nameof(appDbRepository)); _notificationService = notificationService ?? throw new ArgumentNullException(nameof(notificationService)); }
public SeedUsers( IAppDbRepository appRepository, UserManager <User> userManager) { this._appRepository = appRepository; this._userManager = userManager; }
public SeedUsers( IAppDbRepository appRepository, UserManager<User> userManager) { this._appRepository = appRepository; this._userManager = userManager; }
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; }
//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; }
public Handler(IAppDbRepository appDbRepository) { _appDbRepository = appDbRepository ?? throw new ArgumentNullException(nameof(appDbRepository)); }
public FacilityService() { _appdb = MvcApplication.Container.GetInstance <IAppDbRepository>(); }
public SeedPostedAnswers(IAppDbRepository appRepository) { this._appRepository = appRepository; }
public ReservationService() { ContactManager = new ContactManager(); EmailHelper = new Emailer(); _appdb = MvcApplication.Container.GetInstance <IAppDbRepository>(); }
public SeedFeedEntries(IAppDbRepository appRepository) { this._appRepository = appRepository; }
public NavigationController(IAppDbRepository appRepository) { this._appRepository = appRepository; }