public void SetUp() { _wordRepository = Substitute.For <IWordRepository>(); _managerRepository = Substitute.For <IManagerRepository>(); _modificationService = new ModificationService(_managerRepository, _wordRepository); }
public SprintController( IUnitOfWork unitOfWork, ISprintRepository sprintRepository, IMapper mapper, IModificationService modificationService) : base(unitOfWork, sprintRepository, mapper, modificationService) { }
public MarkController(IMarkService markService, IModelService modelService, IModificationService modificationService) { _markService = markService; _modelService = modelService; _modificationService = modificationService; }
public UserStoryController( IUnitOfWork unitOfWork, IUserStoryRepository userStoryRepository, IMapper mapper, IUserStoryService userStoryService, IModificationService modificationService) : base(unitOfWork, userStoryRepository, mapper, modificationService) { _userStoryService = userStoryService; }
public TaskController( IUnitOfWork unitOfWork, ITaskRepository repository, IMapper mapper, ITaskService taskService, IModificationService modificationService, ICurrentUserService currentUserService) : base(unitOfWork, repository, mapper, modificationService) { _taskService = taskService; }
public CommentController(IUnitOfWork unitOfWork, ICommentRepository repository, IMapper mapper, ICommentService commentService, IModificationService modificationService) : base(unitOfWork, repository, mapper, modificationService) { _commentService = commentService; _modificationService = modificationService; _mapper = mapper; _unitOfWork = unitOfWork; }
public FeatureController( IUnitOfWork unitOfWork, IFeatureRepository FeatureRepository, IMapper mapper, IFeatureService featureService, IModificationService modificationService) : base(unitOfWork, FeatureRepository, mapper, modificationService) { _featureService = featureService; }
//private readonly IBrandService _brandService; public CatalogController(IProductService productService, IModelService modelService, IModificationService modificationService, ICategoryService categoryService) { _productService = productService; _categoryService = categoryService; //_brandService = brandService; _modelService = modelService; _modificationService = modificationService; }
public ProjectController( IUnitOfWork unitOfWork, IProjectService projectService, IAuthRepository authRepository, IProjectRepository projectRepository, IMapper mapper, IOptions <AppSettings> appSettings, IAuthService authService, IRoleCheck roleCheck, IModificationService modificationService, ICurrentUserService currentUserService) : base(unitOfWork, projectRepository, mapper, modificationService) { _projectService = projectService; _currentUserService = currentUserService; _unitOfWork = unitOfWork; _authService = authService; _appSettings = appSettings.Value; _authRepository = authRepository; _roleCheck = roleCheck; _projectRepository = projectRepository; }
public CoreViewModel() { _currentAppMode = AppMode.None; _initResult = InitResultType.None; _userVars = new Dictionary<string, EnVar>(); _systemVars = new Dictionary<string, EnVar>(); _modificationMode = ModificationModeType.None; _modificationTitle = string.Empty; _modifiedKey = string.Empty; _modifiedValue = string.Empty; _validationMessage = string.Empty; _hasUserImportVariables = false; _hasSystemImportVariables = false; _hasUserExportVariables = false; _hasSystemExportVariables = false; _hasInitImportStatus = false; _hasImportConflicts = false; // Get the services _messageService = ServiceManager.Instance.GetService<IMessageService>(); _modificationService = ServiceManager.Instance.GetService<IModificationService>(); _fileService = ServiceManager.Instance.GetService<IFileService>(); _progressService = ServiceManager.Instance.GetService<IProgressService>(); // InitializeEnvironmentVariables the commands InitializeCommands(); }
public ModificationController(IModificationService modificationService) { _modificationService = modificationService; }
public Extras(IModificationService modificationService, IUserService userService, IRequestService requestService) { _modificationService = modificationService; _userService = userService; _requestService = requestService; }
public DictionaryController(IModificationService modificationService, IUserService userService, IRequestService requestService) { _requestService = requestService; _modificationService = modificationService; _userService = userService; }
protected CrudController(IUnitOfWork unitOfWork, TRepository repository, IMapper mapper, IModificationService modificationService) : base(repository) { ModificationService = modificationService; UnitOfWork = unitOfWork; Mapper = mapper; }