/// <summary> /// Default ctor /// </summary> /// <param name="projectRepository"><see cref="IProjectRepository"/></param> /// <param name="formulaRepository"><see cref="IFormulaRepository"/></param> /// <param name="companyRepository"><see cref="ICompanyRepository"/></param> /// <param name="materialRepository"><see cref="IMaterialRepository"/></param> public ProjectService(IProjectRepository projectRepository, IFormulaRepository formulaRepository, ICompanyRepository companyRepository, IMaterialRepository materialRepository) { _rProjectRepository = projectRepository; _rFormulaRepository = formulaRepository; _rCompanyRepository = companyRepository; _rMaterialRepository = materialRepository; }
public SessionController(IUserRepository userRepository, ISessionRepository sessionRepository, IFormulaRepository formulaRepository, ITrainingDayRepository trainingDayRepository, INonMemberRepository nonMemberRepository, IScoreRepository scoreRepository) { _userRepository = userRepository; _sessionRepository = sessionRepository; _trainingDayRepository = trainingDayRepository; _formulaRepository = formulaRepository; _nonMemberRepository = nonMemberRepository; _scoreRepository = scoreRepository; }
/// <summary> /// Default ctor /// </summary> /// <param name="formulaRepository"><see cref="IFormulaRepository"/></param> /// <param name="companyRepository"><see cref="ICompanyRepository"/></param> /// <param name="userRepository"><see cref="IUserRepository"/></param> /// <param name="materialRepository"><see cref="IMaterialRepository"/></param> public FormulaService(IFormulaRepository formulaRepository, ICompanyRepository companyRepository, IUserRepository userRepository, IMaterialRepository materialRepository) { _rFormulaRepository = formulaRepository; _rCompanyRepository = companyRepository; _rUserRepository = userRepository; _rMaterialRepository = materialRepository; }
public ExecutionService(IValueComparer valueComparer, IFormulaRepository formulaRepository, IArgumentRepository argumentRepository, IMatrixRepository matrixRepository) { Guard.AgainstNull(valueComparer, nameof(valueComparer)); Guard.AgainstNull(formulaRepository, nameof(formulaRepository)); Guard.AgainstNull(argumentRepository, nameof(argumentRepository)); Guard.AgainstNull(matrixRepository, nameof(matrixRepository)); _valueComparer = valueComparer; _formulaRepository = formulaRepository; _argumentRepository = argumentRepository; _matrixRepository = matrixRepository; }
public FormulaService(IFormulaRepository _formulaRepository, IFormulaValidator _formulaValidator) { _repository = _formulaRepository; _validator = _formulaValidator; }
public FormulaController(IMapper mapper, IFormulaRepository repository) { this._repository = repository; this._mapper = mapper; }
public SessionController(IFormulaRepository formulaRepository, ISessionRepository sessionRepository) { _formulaRepository = formulaRepository; _sessionRepository = sessionRepository; }
public FormulaService(IFormulaRepository repository, IMapper mapper) : base(repository, mapper) { _repository = repository; _mapper = mapper; }
public FormulasController(IFormulaRepository repository) { repo = repository; }