コード例 #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;
 }
コード例 #2
0
 public ProjectGeneratorController(IMapper mapper,
                                   IProjectGeneratorRepository projectGeneratorRepository,
                                   IStateInitialiserRepository stateInitialiserRepository,
                                   IUnitOfWork unitOfWork)
 {
     this.unitOfWork = unitOfWork;
     this.mapper     = mapper;
     this.projectGeneratorRepository = projectGeneratorRepository;
     this.StateInitialiserRepository = stateInitialiserRepository;
 }