Ejemplo n.º 1
0
 public PlanningAppService(IMapper mapper,
                           IPlanningAppRepository PlanningAppRepository,
                           IPlanningAppStateRepository PlanningAppStateRepository,
                           IProjectGeneratorRepository projectGeneratorRepository,
                           IStateStatusRepository stateStatusRepository,
                           IStateInitialiserRepository stateInitialiserRepository,
                           ICustomerRepository CustomerRepository,
                           IPlanningAppStateService planningAppStateService,
                           IDateService dateService,
                           IFeeRepository feeRepository,
                           UserManager <AppUser> userManager,
                           IUnitOfWork unitOfWork)
 {
     this.Mapper = mapper;
     this.PlanningAppRepository      = PlanningAppRepository;
     this.PlanningAppStateRepository = PlanningAppStateRepository;
     this.ProjectGeneratorRepository = projectGeneratorRepository;
     this.StateStatusRepository      = stateStatusRepository;
     this.StateInitialiserRepository = stateInitialiserRepository;
     this.CustomerRepository         = CustomerRepository;
     this.PlanningAppStateService    = planningAppStateService;
     this.DateService   = dateService;
     this.FeeRepository = feeRepository;
     this.UserManager   = userManager;
     this.UnitOfWork    = unitOfWork;
     this.statusList    = StateStatusRepository.GetStateStatusList().Result;
 }
Ejemplo n.º 2
0
 public ProjectGeneratorController(IMapper mapper,
                                   IProjectGeneratorRepository projectGeneratorRepository,
                                   IStateInitialiserRepository stateInitialiserRepository,
                                   IUnitOfWork unitOfWork)
 {
     this.unitOfWork = unitOfWork;
     this.mapper     = mapper;
     this.projectGeneratorRepository = projectGeneratorRepository;
     this.StateInitialiserRepository = stateInitialiserRepository;
 }
 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;
 }
Ejemplo n.º 4
0
 public PlanningAppController(IMapper mapper,
                              IPlanningAppRepository repository,
                              IPlanningAppStateRepository planningAppStateRepository,
                              IUnitOfWork unitOfWork,
                              IStateStatusRepository statusListRepository,
                              ICustomerRepository customerRepository,
                              IStateInitialiserRepository stateInitialiserRepository)
 {
     this.unitOfWork = unitOfWork;
     this.repository = repository;
     this.planningAppStateRepository = planningAppStateRepository;
     this.mapper = mapper;
     this.statusListRepository       = statusListRepository;
     this.stateInitialiserRepository = stateInitialiserRepository;
     this.customerRepository         = customerRepository;
 }
 public StateInitialiserStateController(IMapper mapper,
                                        IStateInitialiserStateRepository repository,
                                        IStateInitialiserRepository generatorRepository,
                                        IPlanningAppRepository planningAppRepository,
                                        IPlanningAppService planningAppService,
                                        IStateStatusRepository stateStatusRepository,
                                        IUnitOfWork unitOfWork)
 {
     this.planningAppRepository = planningAppRepository;
     this.PlanningAppService    = planningAppService;
     this.stateStatusRepository = stateStatusRepository;
     this.mapper              = mapper;
     this.repository          = repository;
     this.GeneratorRepository = generatorRepository;
     UnitOfWork = unitOfWork;
 }
Ejemplo n.º 6
0
 public PlanningAppController(IMapper mapper,
                              IPlanningAppService planningAppService,
                              IPlanningAppRepository repository,
                              IPlanningAppStateRepository planningAppStateRepository,
                              IUnitOfWork unitOfWork,
                              IStateStatusRepository statusListRepository,
                              ICustomerRepository customerRepository,
                              IUserRepository userRepository,
                              IStateInitialiserRepository stateInitialiserRepository,
                              IPlanningAppStateService PlanningAppStateService,
                              UserManager <AppUser> userManager)
 {
     this.unitOfWork = unitOfWork;
     this.repository = repository;
     this.planningAppStateRepository = planningAppStateRepository;
     this.mapper = mapper;
     this.statusListRepository       = statusListRepository;
     this.stateInitialiserRepository = stateInitialiserRepository;
     this.PlanningAppStateService    = PlanningAppStateService;
     this.userManager        = userManager;
     this.customerRepository = customerRepository;
     this.userRepository     = userRepository;
     this.planningAppService = planningAppService;
 }
 public StateInitialiserController(IMapper mapper, IStateInitialiserRepository stateRepository, IUnitOfWork unitOfWork)
 {
     this.unitOfWork      = unitOfWork;
     this.stateRepository = stateRepository;
     this.mapper          = mapper;
 }
Ejemplo n.º 8
0
 public ProjectGeneratorRepository(VegaDbContext vegaDbContext, IStateInitialiserRepository StateInitialiserRepository)
 {
     this.StateInitialiserRepository = StateInitialiserRepository;
     this.vegaDbContext = vegaDbContext;
 }