Exemplo n.º 1
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="dataProvider">Data provider</param>
 /// <param name="dbContext">Database Context</param>
 /// <param name="commonSettings">Common settings</param>
 public FulltextService(IDataProvider dataProvider, IContext dbContext,
     CommonSettings commonSettings)
 {
     this._dataProvider = dataProvider;
     this._dbContext = dbContext;
     this._commonSettings = commonSettings;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="activityLogRepository">Activity log repository</param>
 /// <param name="activityLogTypeRepository">Activity log type repository</param>
 /// <param name="currentActivity">Work context</param>
 /// <param name="dbContext">DB context</param>>
 /// <param name="dataProvider">WeData provider</param>
 /// <param name="commonSettings">Common settings</param>
 public AccountActivityService(ICacheManager cacheManager,
     IRepository<ActivityLog> activityLogRepository,
     IRepository<ActivityLogType> activityLogTypeRepository,
     ICurrentActivity currentActivity,
     IContext dbContext, IDataProvider dataProvider, CommonSettings commonSettings)
 {
     this._cacheManager = cacheManager;
     this._activityLogRepository = activityLogRepository;
     this._activityLogTypeRepository = activityLogTypeRepository;
     this._currentActivity = currentActivity;
     this._dbContext = dbContext;
     this._dataProvider = dataProvider;
     this._commonSettings = commonSettings;
 }