示例#1
0
 public UploadImageService(IUnitOfWork unitOfWork, IUploadImageRepository uploadImageRepository,
                           IDispatchRepository dispatchRepository)
 {
     _unitOfWork            = unitOfWork;
     _uploadImageRepository = uploadImageRepository;
     _dispatchRepository    = dispatchRepository;
 }
 public CommentService(
     IUnitOfWork unitOfWork,
     ITaskRepository taskRepository,
     ITagRepository tagRepository,
     IUploadImageRepository uploadImageRepository,
     IProjectRepository projectRepository,
     IUserRepository userRepository,
     ICommentRepository commentRepository,
     ICommentDetailRepository commentDetailRepository,
     IMapper mapper,
     IHubContext <WorkingManagementHub> hubContext,
     IConfiguration configuaration,
     INotificationService notificationService)
 {
     _notificationService     = notificationService;
     _configuaration          = configuaration;
     _unitOfWork              = unitOfWork;
     _taskRepository          = taskRepository;
     _tagRepository           = tagRepository;
     _uploadImageRepository   = uploadImageRepository;
     _userRepository          = userRepository;
     _projectRepository       = projectRepository;
     _commentRepository       = commentRepository;
     _commentDetailRepository = commentDetailRepository;
     _mapper     = mapper;
     _hubContext = hubContext;
 }
示例#3
0
 public ChatService(
     IUnitOfWork unitOfWork,
     IProjectRepository projectRepository,
     IUserRepository userRepository,
     IUploadImageRepository uploadImageRepository,
     IParticipantRepository participantRepository,
     IChatRepository chatRepository,
     IManagerRepository manageRepository,
     ITeamMemberRepository teamMemberRepository,
     IHubContext <WorkingManagementHub> hubContext,
     IConfiguration configuaration
     )
 {
     _unitOfWork            = unitOfWork;
     _projectRepository     = projectRepository;
     _userRepository        = userRepository;
     _uploadImageRepository = uploadImageRepository;
     _participantRepository = participantRepository;
     _chatRepository        = chatRepository;
     _manageRepository      = manageRepository;
     _teamMemberRepository  = teamMemberRepository;
     _hubContext            = hubContext;
     _configuaration        = configuaration;
 }