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; }
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; }
public void SetRelationAccountRepository(IRelationAccountRepository _relationAccountRepository) { this.relationAccountRepository = _relationAccountRepository; }