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;
        }
Example #3
0
        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;
        }
Example #4
0
 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;
 }
Example #5
0
 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
         };
     }
 }
 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
         };
     }
 }
Example #8
0
        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
            };
        }
        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
            };
        }
Example #10
0
 // 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;
 }
Example #13
0
 public SignInController(ISignInRepository repository)
 {
     this.repository = repository;
 }
Example #14
0
 public SignInController(ISignInRepository repository)
 {
     this.repository = repository;
 }
 public AccountController(IUserRepository userRepository, ISignInRepository signInRepository, ISessionService sesionService)
 {
     this.userRepository   = userRepository;
     this.signInRepository = signInRepository;
     this.sesionService    = sesionService;
 }