//DI
 public ArticleLikeDisslikeManager(IProjectUnitOfWork uow, IAuthService authService, IUserHistoryService userHistoryService, IArticleService articleService)
 {
     _uow                = uow;
     _authService        = authService;
     _userHistoryService = userHistoryService;
     _articleService     = articleService;
 }
Пример #2
0
 //DI
 public UserManager(IProjectUnitOfWork uow, IAuthService authService, IUserHistoryService userHistoryService, IDocumentService documentService)
 {
     _uow                = uow;
     _authService        = authService;
     _userHistoryService = userHistoryService;
     _documentService    = documentService;
 }
Пример #3
0
 public ProjectService(CacheManager cacheManager,
                       IProjectUnitOfWork projectUnitOfWork,
                       IProjectRepository projectRepository, ProjectFactory projectFactory,
                       IOrganizationRepository organizationRepository,
                       ILabelRepository labelRepository,
                       LabelFactory labelFactory)
 {
     _cacheManager           = cacheManager;
     _projectUnitOfWork      = projectUnitOfWork;
     _projectRepository      = projectRepository;
     _projectFactory         = projectFactory;
     _organizationRepository = organizationRepository;
     _labelRepository        = labelRepository;
     _labelFactory           = labelFactory;
 }
 //DI
 public UserHistoryManager(IProjectUnitOfWork uow, IAuthService authService)
 {
     _uow         = uow;
     _authService = authService;
 }
Пример #5
0
 //DI
 public ChatManager(IProjectUnitOfWork uow, IAuthService authService)
 {
     _uow         = uow;
     _authService = authService;
 }
Пример #6
0
 //DI
 public AuthorizationAppealManager(IProjectUnitOfWork uow, IAuthService authService)
 {
     _uow         = uow;
     _authService = authService;
 }
 //DI
 public ArticleCategoryManager(IProjectUnitOfWork uow, IAuthService authService)
 {
     _uow         = uow;
     _authService = authService;
 }
 //DI
 public TopicManager(IAuthService authService, IProjectUnitOfWork uow, IUserHistoryService userHistoryService)
 {
     _authService        = authService;
     _uow                = uow;
     _userHistoryService = userHistoryService;
 }
Пример #9
0
 public ProjectController(IProjectUnitOfWork workUnit)
 {
     _workUnit = workUnit;
 }