public StatisticService(IDistrictRepository districtRepository, IPORepository poRepository, ITransactionRepository transactionRepository, IStatisticRepository statisticRepository, IApplicationUserRepository userRepository) { _transactionRepository = transactionRepository; _statisticRepository = statisticRepository; _userRepository = userRepository; _poRepository = poRepository; _districtRepository = districtRepository; }
public JobRepository(WorkersInMotionDB context) { this.context = context; this.contextWIM = new WorkersInMotionDB(); this._IMarketRepository = new MarketRepository(new WorkersInMotionDB()); this._IOrganizationRepository = new OrganizationRepository(new WorkersInMotionDB()); this._IPlaceRepository = new PlaceRepository(new WorkersInMotionDB()); this._IPORepository = new PORepository(new WorkersInMotionDB()); }
public POController(WorkersInMotionDB context) { this._IJobRepository = new JobRepository(context); this._IPORepository = new PORepository(context); this._IPlaceRepository = new PlaceRepository(context); this._IMarketRepository = new MarketRepository(context); this._ITerritoryRepository = new TerritoryRepository(context); this._IRegionRepository = new RegionRepository(context); }
public POController() { this._IPORepository = new PORepository(new WorkersInMotionDB()); this._IPlaceRepository = new PlaceRepository(new WorkersInMotionDB()); this._IMarketRepository = new MarketRepository(new WorkersInMotionDB()); this._IJobRepository = new JobRepository(new WorkersInMotionDB()); this._ITerritoryRepository = new TerritoryRepository(new WorkersInMotionDB()); this._IRegionRepository = new RegionRepository(new WorkersInMotionDB()); }
public RALServices ( IBusinessUnitRepository businessUnitRepository, ILoginRepository loginRepository, IPORepository pORepository, IStoreRepository storeRepository, IVendorRepository vendorRepository, IRALUnitOfWork rALUnitOfWork, IMapper mapper, IEmailManager emailManager ) { if (businessUnitRepository == null) { throw new ArgumentNullException("BusinessUnitRepository"); } if (loginRepository == null) { throw new ArgumentNullException("LoginRepository"); } if (pORepository == null) { throw new ArgumentNullException("PORepository"); } if (storeRepository == null) { throw new ArgumentNullException("StoreRepository"); } if (vendorRepository == null) { throw new ArgumentNullException("VendorRepository"); } if (rALUnitOfWork == null) { throw new ArgumentNullException("RALUnitOfWork"); } if (mapper == null) { throw new ArgumentNullException("Mapper"); } if (emailManager == null) { throw new ArgumentNullException("EmailManager"); } _businessUnitRepository = businessUnitRepository; _loginRepository = loginRepository; _pORepository = pORepository; _storeRepository = storeRepository; _vendorRepository = vendorRepository; _rALUnitOfWork = rALUnitOfWork; _mapper = mapper; _emailManager = emailManager; }
public JobStatusController(WorkersInMotionDB context) { this._IGlobalUserRepository = new GlobalUserRepository(context); this._IUserProfileRepository = new UserProfileRepository(context); this._IPlaceRepository = new PlaceRepository(context); this._IMarketRepository = new MarketRepository(context); this._ITerritoryRepository = new TerritoryRepository(context); this._IRegionRepository = new RegionRepository(context); this._IUserRepository = new UserRepository(context); this._IJobRepository = new JobRepository(context); this._IPORepository = new PORepository(context); }
public UserActivitiesController() { this._IOrganizationRepository = new OrganizationRepository(new WorkersInMotionDB()); this._IJobRepository = new JobRepository(new WorkersInMotionDB()); this._IGlobalUserRepository = new GlobalUserRepository(new WorkersInMotionDB()); this._IUserProfileRepository = new UserProfileRepository(new WorkersInMotionDB()); this._IPlaceRepository = new PlaceRepository(new WorkersInMotionDB()); this._IMarketRepository = new MarketRepository(new WorkersInMotionDB()); this._ITerritoryRepository = new TerritoryRepository(new WorkersInMotionDB()); this._IRegionRepository = new RegionRepository(new WorkersInMotionDB()); this._IUserRepository = new UserRepository(new WorkersInMotionDB()); this._IPORepository = new PORepository(new WorkersInMotionDB()); }
public StoreVisitController(WorkersInMotionDB context) { this._IOrganizationRepository = new OrganizationRepository(context); this._IPlaceRepository = new PlaceRepository(context); this._IPeopleRepository = new PeopleRepository(context); this._IMarketRepository = new MarketRepository(context); this._IUserProfileRepository = new UserProfileRepository(context); this._IRegionRepository = new RegionRepository(context); this._ITerritoryRepository = new TerritoryRepository(context); this._IJobRepository = new JobRepository(context); this._IUserRepository = new UserRepository(context); this._IGlobalUserRepository = new GlobalUserRepository(context); this._IPORepository = new PORepository(context); }
public POService(IPORepository poRepository, IUnitOfWork unitOfWork) { this._poRepository = poRepository; this._uniOfWork = unitOfWork; }