Пример #1
0
 public UserDetailCreateHandler(GlobalSolusindoDb db, tblM_User user, UserDetailValidator userDetailValidator, UserDetailFactory userDetailFactory, UserDetailQuery userDetailQuery, AccessControl accessControl) : base(db, user)
 {
     this.userDetailValidator         = userDetailValidator;
     this.userDetailFactory           = userDetailFactory;
     this.userDetailQuery             = userDetailQuery;
     this.userDetailEntryDataProvider = new UserDetailEntryDataProvider(db, user, accessControl, userDetailQuery);
 }
 public UserDetailsController(UserDetailFactory userDetailFactory, IMapper mapper)
 {
     this._EFUserDetailRepository    = userDetailFactory(UserDetailRepositoryType.EF);
     this._RedisUserDetailRepository = userDetailFactory(UserDetailRepositoryType.Redis);
     this._Mapper = mapper;
 }
 private void Initialize(UserDetailValidator userDetailValidator, UserDetailFactory userDetailFactory)
 {
     this.userDetailValidator = userDetailValidator;
     this.userDetailFactory   = userDetailFactory;
 }