public TaskFolderService(ITaskFolderRepository repository, ILoggerFactory factory) { this._repository = repository; this._logger = factory.Create(GetType()); }
static TaskFolderService() { _repository = RepositoryFactory.GetRepository <ITaskFolderRepository, int, TaskFolder>(); }
static TaskFolderService() { _repository = RepositoryFactory.GetRepository<ITaskFolderRepository, int, TaskFolder>(); }