public StateInitialiserStateController(IMapper mapper, IStateInitialiserStateRepository repository, IPlanningAppRepository planningAppRepository, IStateStatusRepository stateStatusRepository, IUnitOfWork unitOfWork) { this.planningAppRepository = planningAppRepository; this.stateStatusRepository = stateStatusRepository; this.mapper = mapper; this.repository = repository; UnitOfWork = unitOfWork; }
public PlanningAppRepository(VegaDbContext vegaDbContext, IStateStatusRepository stateStatusRepository, IStateInitialiserRepository stateInitialiserRepository, IStateInitialiserStateRepository stateInitialiserStateRepository, IOptionsSnapshot <StateStatusSettings> options) { this.vegaDbContext = vegaDbContext; this.stateStatusRepository = stateStatusRepository; this.stateInitialiserRepository = stateInitialiserRepository; this.stateInitialiserStateRepository = stateInitialiserStateRepository; stateStatusSettings = options.Value; }
public PlanningAppStateRepository(VegaDbContext vegaDbContext, IStateInitialiserStateRepository stateRepository) { this.stateRepository = stateRepository; this.vegaDbContext = vegaDbContext; }