Beispiel #1
0
 public UserDetailController(IErrorLog errorLog, IUserDetailRepository userDetailContext, ApplicationUserManager userManager, IRoleRepository roleRepository)
 {
     _errorLog          = errorLog;
     _userDetailContext = userDetailContext;
     UserManager        = userManager;
     _roleRepository    = roleRepository;
 }
Beispiel #2
0
 public AccountController(IAddressRepository addressRepo, IContactInfoRepository contactInfoRepo,
                          IUserDetailRepository userDetailRepo)
 {
     AddressRepository     = addressRepo;
     ContactInfoRepository = contactInfoRepo;
     UserDetailRepository  = userDetailRepo;
 }
Beispiel #3
0
 public AdminController(IUserDetailRepository userDetailRepository
                        , ILeaveRepository leaveRepository, ILeaveMasterRepository leaveMasterRepository)
 {
     _userDetailRepository  = userDetailRepository;
     _leaveRepository       = leaveRepository;
     _leaveMasterRepository = leaveMasterRepository;
 }
 public AccountController(ApplicationUserManager userManager, ApplicationSignInManager signInManager, ICompanyRepository companyContext, IErrorLog errorLog, IUserDetailRepository userDetailRepository)
 {
     UserManager           = userManager;
     SignInManager         = signInManager;
     _companyContext       = companyContext;
     _errorLog             = errorLog;
     _userDetailRepository = userDetailRepository;
 }
 public PremiumService(IUserDetailRepository userDetailRepository,
                       IOccupationRepository occupationRepository,
                       IOccupationRatingRepository occupationRatingRepository)
 {
     _userDetailRepository       = userDetailRepository;
     _occupationRepository       = occupationRepository;
     _occupationRatingRepository = occupationRatingRepository;
 }
Beispiel #6
0
 public LeaveRepository(DataBaseContext dbContext
                        , ILeaveMapper leavesMapper
                        , IUserDetailRepository userDetailRepository)
 {
     _dbContext            = dbContext;
     _leavesMapper         = leavesMapper;
     _userDetailRepository = userDetailRepository;
 }
 public ManageIncidentController(IErrorLog errorLog, IManageIncidentReportRepository incidentReportRepository, IUserDetailRepository userDetailContext, ICompanyRepository iCompanyRepository)
 {
     _errorLog                 = errorLog;
     _iCompanyRepository       = iCompanyRepository;
     _userDetailContext        = userDetailContext;
     companyId                 = Convert.ToInt32(HttpContext.Current.Session["CompanyId"]);
     _incidentReportRepository = incidentReportRepository;
 }
Beispiel #8
0
 public UserDetailService(IUserDetailRepository userDetailRepository, IUserService userService, INationalityService nationalityService, IDrivingLicenseService drivingLicenseService, IMessageService messageService, IUserCurriculumVitaeService userCurriculumVitaeService)
 {
     _userDetailRepository       = userDetailRepository;
     _userService                = userService;
     _nationalityService         = nationalityService;
     _drivingLicenseService      = drivingLicenseService;
     _messageService             = messageService;
     _userCurriculumVitaeService = userCurriculumVitaeService;
 }
Beispiel #9
0
 public PlayerServices(IPlayerRepository playerRepository, IActivityStatusChangeRepository activityStatusChangeRepository, ITeamRepository teamRepository, IUserRepository userRepository, IClubRepository clubRepository, IAddressRepository addressRepository, IUserDetailRepository userDetailRepository)
 {
     _playerRepository = playerRepository;
     _activityStatusChangeRepository = activityStatusChangeRepository;
     _teamRepository = teamRepository;
     _userRepository = userRepository;
     _clubRepository = clubRepository;
     _addressRepository = addressRepository;
     _userDetailRepository = userDetailRepository;
 }
Beispiel #10
0
 public LoginController(ApplicationUserManager userManager, ApplicationSignInManager signInManager, ICompanyRepository companyContext, IDataRepository <UserDetail> userDataRepository, IUserDetailRepository userDetailRepository, IErrorLog errorLog, IBranchRepository branchRepository, IDataRepository <Role> roleContext, ILogger logger)
 {
     UserManager           = userManager;
     SignInManager         = signInManager;
     _companyContext       = companyContext;
     _userDataRepository   = userDataRepository;
     _userDetailRepository = userDetailRepository;
     _errorLog             = errorLog;
     _branchRepository     = branchRepository;
     _logger = logger;
 }
Beispiel #11
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     IRefreshTokenRepository refreshTokenRepository,
     IConfiguration configuration,
     IUserDetailRepository userDetailRepository)
 {
     this.userManager            = userManager;
     this.refreshTokenRepository = refreshTokenRepository;
     this.configuration          = configuration;
     this.userDetailRepository   = userDetailRepository;
 }
 public FRManagerController(
     IUserDetailRepository userDetailRepo, IBizInfoRepository bizInfoRepo,
     IOrderRepository orderRepo,
     IOrderItemRepository OrderItemRepo, IDriverRepository driverRepo,
     ICreditCardRepository creditCardRepo)
 {
     BizInfoRepository    = bizInfoRepo;
     OrderRepository      = orderRepo;
     OrderItemRepository  = OrderItemRepo;
     DriverRepository     = driverRepo;
     CreditCardRepository = creditCardRepo;
 }
Beispiel #13
0
 public UserDetailService(IUserDetailRepository repoBrand,
                          IBuildingUserRepository repoBuildingUser,
                          IUserRoleRepository repoUserRole,
                          IConfiguration configuration,
                          IMapper mapper,
                          MapperConfiguration configMapper)
 {
     _configMapper     = configMapper;
     _mapper           = mapper;
     _configuration    = configuration;
     _repoUserDetail   = repoBrand;
     _repoBuildingUser = repoBuildingUser;
     _repoUserRole     = repoUserRole;
 }
        public ManageIncidentReportController(IErrorLog errorLog, IMerchantDataRepository merchantDataRepository, IManageIncidentReportRepository incidentReportRepository, IUserDetailRepository iUserDetailReport,
                                              IParentRecordsRepository iParentRecordsRepository, IWorkFlowDetailsRepository iWorkFlowDetailsRepository)
            : base(errorLog, merchantDataRepository)
        {
            _errorLog = errorLog;
            _iWorkFlowDetailsRepository = iWorkFlowDetailsRepository;
            _incidentReportRepository   = incidentReportRepository;
            _iParentRecordsRepository   = iParentRecordsRepository;
            _iUserDetailReport          = iUserDetailReport;

            if (MerchantContext.CompanyDetails != null)
            {
                companyId = MerchantContext.CompanyDetails.Id;
            }
        }
 public ManageController(IAddressRepository addressRepo, IContactInfoRepository contactInfoRepo,
                         IUserDetailRepository userDetailRepo,
                         IOrderRepository orderRepo, ICreditCardRepository creditCardRepo,
                         IGiftCardRepository giftCardRepo, IFavorRestaurantRepository favorRestaurantRepo,
                         IVoteRepository VoteRepo)
 {
     AddressRepository         = addressRepo;
     ContactInfoRepository     = contactInfoRepo;
     UserDetailRepository      = userDetailRepo;
     OrderRepository           = orderRepo;
     CreditCardRepository      = creditCardRepo;
     GiftCardRepository        = giftCardRepo;
     FavorRestaurantRepository = favorRestaurantRepo;
     VoteRepository            = VoteRepo;
 }
Beispiel #16
0
 public ClubServices(IClubRepository clubRepository,
                         IWelfareOfficerRepository welfareOfficerRepository,
                         IChairmanRepository chairmanRepository,
                         IClubAdminRepository clubAdminRepository,
                         IUserDetailRepository userDetailRepository,
                         IUserRepository userRepository,
                         IAddressRepository addressRepository)
 {
     _clubRepository = clubRepository;
     _welfareOfficerRepository = welfareOfficerRepository;
     _chairmanRepository = chairmanRepository;
     _clubAdminRepository = clubAdminRepository;
     _userDetailRepository = userDetailRepository;
     _userRepository = userRepository;
     _addressRepository = addressRepository;
 }
Beispiel #17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SignupManager"/> class.
 /// </summary>
 /// <param name="signupManager">The user repository.</param>
 public UserManager(
     IUserRepository userRepository,
     IAddressRepository addressRepository,
     IUserDetailRepository userDetailRepository,
     IUserPhonesRepository userPhonesRepository,
     IUserEmailsRepository userEmailsRepository,
     IUserSettingsRepository userSettingsRepository,
     IMapper mapper)
 {
     _mapper                 = mapper;
     _userRepository         = userRepository;
     _addressRepository      = addressRepository;
     _userDetailRepository   = userDetailRepository;
     _userPhonesRepository   = userPhonesRepository;
     _userEmailsRepository   = userEmailsRepository;
     _userSettingsRepository = userSettingsRepository;
 }
Beispiel #18
0
 public ProfileAbstract(
     IUserRepository userRepository,
     IUserDetailRepository userDetailRepository,
     IUserSettingsRepository userSettingsRepository,
     IPhysicalAppearanceRepository physicalAppearanceRepository,
     IUserCreditsRepository userCreditsRepository,
     IUserDancingRepository userDancingRepository,
     IUserActingRepository userActingRepository,
     IUserModelingRepository userModelingRepository,
     IMapper mapper)
 {
     _userRepository               = userRepository;
     _userDetailRepository         = userDetailRepository;
     _userSettingsRepository       = userSettingsRepository;
     _userDancingRepository        = userDancingRepository;
     _userCreditsRepository        = userCreditsRepository;
     _physicalAppearanceRepository = physicalAppearanceRepository;
     _userActingRepository         = userActingRepository;
     _userModelingRepository       = userModelingRepository;
     _mapper = mapper;
 }
Beispiel #19
0
 public UserServices(IUserRepository userRepository, IClubAdminRepository clubAdminRepository,
     ICoachRepository coachRepository, IClubRepository clubRepository,
     IWelfareOfficerRepository welfareOfficerRepository, IScoutRepository scoutRepository,
     IPhysiotherapistRepository physiotherapistRepository, IHeadOfEducationRepository headOfEducationRepository,
     IHeadOfAcademyRepository headOfAcademyRepository, ISportScientistRepository sportScientistRepository,
     IAddressRepository addressRepository, IUserDetailRepository userDetailRepository, IPlayerRepository playerRepository)
 {
     _userRepository = userRepository;
     _clubAdminRepository = clubAdminRepository;
     _coachRepository = coachRepository;
     _clubRepository = clubRepository;
     _welfareOfficerRepository = welfareOfficerRepository;
     _scoutRepository = scoutRepository;
     _physiotherapistRepository = physiotherapistRepository;
     _headOfEducationRepository = headOfEducationRepository;
     _headOfAcademyRepository = headOfAcademyRepository;
     _sportScientistRepository = sportScientistRepository;
     _addressRepository = addressRepository;
     _userDetailRepository = userDetailRepository;
     _playerRepository = playerRepository;
 }
 public ProfileManager(
     IUserRepository userRepository,
     IUserDetailRepository userDetailRepository,
     IUserSettingsRepository userSettingsRepository,
     IPhysicalAppearanceRepository physicalAppearanceRepository,
     IUserCreditsRepository userCreditsRepository,
     IUserDancingRepository userDancingRepository,
     IUserActingRepository userActingRepository,
     IUserModelingRepository userModelingRepository,
     IMapper mapper) : base(
         userRepository,
         userDetailRepository,
         userSettingsRepository,
         physicalAppearanceRepository,
         userCreditsRepository,
         userDancingRepository,
         userActingRepository,
         userModelingRepository,
         mapper)
 {
 }
Beispiel #21
0
 public GroupCheckoutController(IBizInfoRepository bizInfoRepo, IBizCuisineRepository bizCuisineRepo,
                                ICuisineTypeRepository cuisineTypeRepo, ICategoryRepository categoryRepo,
                                IProductRepository productRepo, IProductToppingRepository productToppingRepo,
                                IProductDressingRepository productDressingRepo, IDiscountCouponRepository discountCouponRepo,
                                IFreeItemCouponRepository FreeItemCouponRepo, IUserDetailRepository userDetailRepo,
                                ICreditCardTypeRepository creditCardTypeRepo, IOrderRepository orderRepo,
                                ICreditCardRepository creditCardRepo)
 {
     BizInfoRepository         = bizInfoRepo;
     BizCuisineRepository      = bizCuisineRepo;
     CuisineTypeRepository     = cuisineTypeRepo;
     CategoryRepository        = categoryRepo;
     ProductRepository         = productRepo;
     ProductToppingRepository  = productToppingRepo;
     ProductDressingRepository = productDressingRepo;
     DiscountCouponRepository  = discountCouponRepo;
     FreeItemCouponRepository  = FreeItemCouponRepo;
     UserDetailRepository      = userDetailRepo;
     CreditCardTypeRepository  = creditCardTypeRepo;
     OrderRepository           = orderRepo;
     CreditCardRepository      = creditCardRepo;
     TempData["valid"]         = "";
 }
Beispiel #22
0
 public UserDetailController(IUserDetailRepository userDetailRepository)
 {
     _userDetailRepository = userDetailRepository;
 }
 public UseAopUserDomainService(IUserRepository userRepository, IUserDetailRepository userDetailRepository)
 {
     _userRepository       = userRepository;
     _userDetailRepository = userDetailRepository;
 }
 public UserDetailsController(UserDetailFactory userDetailFactory, IMapper mapper)
 {
     this._EFUserDetailRepository    = userDetailFactory(UserDetailRepositoryType.EF);
     this._RedisUserDetailRepository = userDetailFactory(UserDetailRepositoryType.Redis);
     this._Mapper = mapper;
 }
 public UserDetailService(IUserDetailRepository userDetailRepository) : base(userDetailRepository)
 {
 }
Beispiel #26
0
 public UserDetailService(IUserDetailRepository repoBrand, IMapper mapper, MapperConfiguration configMapper)
 {
     _configMapper   = configMapper;
     _mapper         = mapper;
     _repoUserDetail = repoBrand;
 }
Beispiel #27
0
 public UserDetailService(IUserDetailRepository userRepository, IMapper mapper)
 {
     _userDetailRepository = userRepository;
     _mapper = mapper;
 }
Beispiel #28
0
 public UserService(IUserRepository _IUserRepository, IUserInfoRepository _IUserInfoRepository, IUserDetailRepository _IUserDetailRepository)
 {
     this._IUserRepository       = _IUserRepository;
     this._IUserInfoRepository   = _IUserInfoRepository;
     this._IUserDetailRepository = _IUserDetailRepository;
 }
Beispiel #29
0
 /// <summary>
 /// UserDetailProvider
 /// </summary>
 public UserDetailProvider()
 {
     this.repository = new UserDetailRepository();
 }
Beispiel #30
0
 public UserDetailService(IUnitOfWork unitOfWork, IRepository <UserDetail, long> repository) : base(unitOfWork,
                                                                                                    repository)
 {
     _userDetailRepository = Repository <IUserDetailRepository>();
 }
Beispiel #31
0
 public UserDetailService(IRepositoryContext context,
                          IUserDetailRepository iUserDetailRepository)
     : base(context)
 {
     this._IUserDetailRepository = iUserDetailRepository;
 }
Beispiel #32
0
 public UserDetailService(IUserDetailRepository userRepository, IUnitOfWork unitOfWork)
 {
     this._userRepository = userRepository;
     _unitOfWork          = unitOfWork;
 }
Beispiel #33
0
 public Authentication(IUserDetailRepository userDetailRepository)
 {
     _IUserDetailRepository = userDetailRepository;
     mapper = new Mapper(config);
 }