Ejemplo n.º 1
0
 public UserRepository(IDatabase database,
                       IEmailService mailService,
                       ITokenSecurity tokenSecurity,
                       TuoTuoMailConfigurationSection mailConfig,
                       T_USER_BLL userBll,
                       T_THIRD_PARTY_BLL thirdBll,
                       T_PROJECT_MEMBER_BLL projectMemberbll,
                       T_TEAM_MEMBER_BLL teamMemberbll,
                       IRelationAccountRepository relationRepo,
                       TemplateHelper templateHelper,
                       IFileService fileService,
                       IAttachmentUploadRepository attachmentUploadRepository)
 {
     _database                   = database;
     _mailService                = mailService;
     _tokenSecurity              = tokenSecurity;
     _mailConfig                 = mailConfig;
     _userBll                    = userBll;
     _thirdBll                   = thirdBll;
     _projectMemberbll           = projectMemberbll;
     _teamMemberbll              = teamMemberbll;
     _relationRepo               = relationRepo;
     _templateHelper             = templateHelper;
     _fileService                = fileService;
     _attachmentUploadRepository = attachmentUploadRepository;
 }
Ejemplo n.º 2
0
 public UserController(IUserRepository userRepo,
                       [KeyFilter("GlobalLog")] ILog logger,
                       IdentityService identityService,
                       IRelationAccountRepository relationRepo,
                       ITeamRepository teamRepo,
                       IProjectRepository projectRepo
                       )
     : base(identityService)
 {
     this._userRepo     = userRepo;
     this._relationRepo = relationRepo;
     this._teamRepo     = teamRepo;
     this._projectRepo  = projectRepo;
     this._logger       = logger;
 }
Ejemplo n.º 3
0
 public void SetRelationAccountRepository(IRelationAccountRepository _relationAccountRepository)
 {
     this.relationAccountRepository = _relationAccountRepository;
 }