public SignInAspectLoader( ISignInAspectMapper signInAspectMapper, ISignInRepository signInRepository) { _signInAspectMapper = signInAspectMapper; _signInRepository = signInRepository; }
public SignInController(ISignInRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.ToLong(); this._UserId = view.UserId.ToInt(); this._OfficeId = view.OfficeId.ToInt(); this._Catalog = catalog; this.repository = repository; }
public AccountController(IUserRepository <UserVM> _user, IHttpContextAccessor _httpContextAccessor, IAsyncRepository <RoleVM> roleContext, ISignInRepository <LoginVM> loginContext, ISentEmail sentEmail) { userContext = _user; httpContextAccessor = _httpContextAccessor; this.roleContext = roleContext; this.loginContext = loginContext; this.sentEmail = sentEmail; }
public PassportService(IPassportSearchRepository passportSearchRepository, ISubscriberSearchRepository subscriberSearchRepository, IPassportRepository passportRepository, ISignInRepository signInRepository, IMd5Encrypter encrypt) { _passportSearchRepository = passportSearchRepository; _subscriberSearchRepository = subscriberSearchRepository; _passportRepository = passportRepository; _signInRepository = signInRepository; _encrypt = encrypt; }
protected override void Initialize(HttpControllerContext context) { base.Initialize(context); if (this.repository == null) { this.repository = new SignInProcedure { _Catalog = this.MetaUser.Catalog, _LoginId = this.MetaUser.LoginId, _UserId = this.MetaUser.UserId }; } }
public SignInController() { this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong(); this._UserId = AppUsers.GetCurrent().View.UserId.ToInt(); this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt(); this._Catalog = AppUsers.GetCurrentUserDB(); this.repository = new SignInProcedure { _Catalog = this._Catalog, _LoginId = this._LoginId, _UserId = this._UserId }; }
// ninject depedency injection public DbRepositoryService(IEventRepository eventRepo, ICenterRepository centerRepo, ILibraryRepository libraryRepo, ISpecialEventRepository specialEventRepo, IPrimaryGuardianBorrowsRepository primaryGuardianBorrowsRepo, ISignInRepository signInRepo, IPrimaryGuardianRepository primaryGuardianRepo, ISecondaryGuardianRepository secondaryGuardianRepo, IChildRepository childRepo, ICenterReferralRepo centerReferralRepo, ICenterResourcesRepository centerResourcesRepo) { this.eventRepo = eventRepo; this.centerRepo = centerRepo; this.libraryRepo = libraryRepo; this.specialEventRepo = specialEventRepo; this.primaryGuardianBorrowsRepo = primaryGuardianBorrowsRepo; this.signInRepo = signInRepo; this.primaryGuardianRepo = primaryGuardianRepo; this.secondaryGuardianRepo = secondaryGuardianRepo; this.childRepo = childRepo; this.centerReferralRepo = centerReferralRepo; this.centerResourcesRepo = centerResourcesRepo; }
public GetProfilesUseCase() { repository = new SignInRepository(); }
public SignInService(ISignInRepository signInRepository) { _signInRepository = signInRepository; }
public SignInController(ISignInRepository repository) { this.repository = repository; }
public AccountController(IUserRepository userRepository, ISignInRepository signInRepository, ISessionService sesionService) { this.userRepository = userRepository; this.signInRepository = signInRepository; this.sesionService = sesionService; }