Пример #1
0
 public ReportsController(IUnitOfWork unitOfWork)
     : base(unitOfWork)
 {
     _categoryRepostitory = new CategoryRepostitory(unitOfWork);
     _tasklogRepository = new TasklogRepository(unitOfWork);
     _montReportDocRepository = new MontReportDocRepository(unitOfWork);
     _stateCategoryRepostitory = new StateCategoryRepostitory(unitOfWork);
     _tasknodeRep = new TaskRepository(unitOfWork);
     _fileStore = new DiskFileStore();
 }
Пример #2
0
 public AppSettingController(IUnitOfWork unitOfWork)
     : base(unitOfWork)
 {
     _departRepository= new DepartRepository(unitOfWork);
     _roleRepository = new RoleRepository(unitOfWork);
     _wbsTaskRepository = new WBSTaskRepository(unitOfWork);
     _taskRepository = new TaskRepository(unitOfWork);
     _categoryRepostitory = new CategoryRepostitory(unitOfWork);
     _stateCategoryRepostitory = new StateCategoryRepostitory(unitOfWork);
     _nodeDocTypeRepository = new NodeDocTypeRepository(unitOfWork);
 }