Exemple #1
0
 public TaskService(ITaskRepository taskRepository,
                    IMapper mapper,
                    IUnitOfWorkFactory unitOfWorkFactory,
                    IProjectStateUpdater projectStateUpdater)
 {
     _taskRepository      = taskRepository;
     _mapper              = mapper;
     _unitOfWorkFactory   = unitOfWorkFactory;
     _projectStateUpdater = projectStateUpdater;
 }
 public ProjectStateCalculation(IProjectRepository projectRepository,
                                ITaskRepository taskRepository,
                                IProjectStateUpdater projectStateUpdater,
                                IUnitOfWorkFactory unitOfWorkFactory)
 {
     _projectRepository   = projectRepository;
     _taskRepository      = taskRepository;
     _projectStateUpdater = projectStateUpdater;
     _unitOfWorkFactory   = unitOfWorkFactory;
 }
 public ProjectService(IProjectRepository projectRepository,
                       IMapper mapper,
                       IUnitOfWorkFactory unitOfWorkFactory,
                       IProjectStateUpdater projectStateUpdater)
 {
     _projectRepository   = projectRepository;
     _mapper              = mapper;
     _unitOfWorkFactory   = unitOfWorkFactory;
     _projectStateUpdater = projectStateUpdater;
 }