Exemplo n.º 1
0
 public GameManagement(IUserRepo userR, IGameRepo gameR, IFeatureRepo featureR, IGenreRepo genreR)
 {
     usersTable    = userR;
     gamesTable    = gameR;
     featuresTable = featureR;
     genresTable   = genreR;
 }
 public HelperFunctions(IAccountRepo account, IPlanRepo plan, IUserRepo user, IPurchasedFeatureRepo purch, ICCFolderRepo folder, IFeatureRepo feature, ICCConnectionsRepo CCConnection, ICCItemRepo CCItem)
 {
     accountRepo = account;
     planRepository = plan;
     userRepository = user;
     purchRepository = purch;
     CCFolderRepository = folder;
     featureRepository = feature;
     CCConnectionRepository = CCConnection;
     CCItemRepository = CCItem;
 }
 public HelperFunctions()
 {
     this.accountRepo = new EFAccountRepo();
     this.planRepository = new EFPlanRepo();
     this.userRepository = new EFUserRepo();
     this.purchRepository = new EFPurchasedProdRepo();
     this.CCFolderRepository = new EFCCFolderRepo();
     this.featureRepository = new EFFeatureRepo();
     this.CCConnectionRepository = new EFCCConnectionsRepo();
     this.CCItemRepository = new EFCCItemRepo();
 }
 public SignUpController(IPlanRepo repo, IAccountRepo accRepo, IFeatureRepo featureRepo, IUserRepo userRepo, IPurchasedFeatureRepo ppRepo, IAuthProvider auth, ICCFolderRepo folder, ICCTokenRepo token, INotificationManager notifMgr)
 {
     planRepository = repo;
     accountRepository = accRepo;
     featureRepository = featureRepo;
     userRepository = userRepo;
     ppRepository = ppRepo;
     authProvider = auth;
     CCFolderRepository = folder;
     CCTokenRepository = token;
     notifManager = notifMgr;
     //SetConnectionString();
 }
Exemplo n.º 5
0
        public HomeController(IGameRepo gameR, IFeatureRepo featureR, IGenreRepo genreR, IPriceCategoryRepo categoryR, IUserRepo userR)
        {
            gamesTable           = gameR;
            featuresTable        = featureR;
            genresTable          = genreR;
            priceCategoriesTable = categoryR;
            usersTable           = userR;

            homeViewModel = new HomeViewModel {
                FeaturesFilters = featuresTable.GetAllFeatures(),
                GenresFilters   = genresTable.GetAllGenres(),
                PriceFilters    = priceCategoriesTable.GetAllCategories()
            };
        }
 public FolderController(ICCFolderRepo folder, ICCFolderFieldRepo field, ICCItemRepo Item, ICCFieldValuesRepo fieldvalue, IAccountRepo account, 
     ICCGroupRepo group, ICCGroupFieldRepo groupfield, ICCLayoutRepo layout, ICCLayoutGroupRepo layoutgroup, ICCConnectionsRepo subscription, 
     ICredentialRepo credential, ICCFieldMappingsRepo fieldmapping, ICCNoteRepo note, ICCHistoryLogRepo historyLog,IPlanRepo plan,IFeatureRepo feature)
 {
     CCFolderRepository = folder;
     CCFieldRepository = field;
     CCItemRepository = Item;
     CCFieldValueRepository = fieldvalue;
     accRepository = account;
     CCGroupRepository = group;
     CCGroupFieldRepository = groupfield;
     CCLayoutRepository = layout;
     CCLayoutGroupRepository = layoutgroup;
     CCConnectinRepository = subscription;
     CCCredentialRepository = credential;
     CCFieldMappingsRepository = fieldmapping;
     CCNoteRepository = note;
     CCHistoryLogRepository = historyLog;
     planRepository = plan;
     featureRepository = feature;
 }
 //    int totalconnections;
 public AdminController(IAuthProvider auth, IAccountRepo accRepo, ICCGroupRepo group, ICCGroupFieldRepo groupfield, IUserRepo urep, ICCFolderFieldRepo field, IPlanRepo pRepo, IUserRepo user, ICCItemRepo items, IPurchasedFeatureRepo purRepo, INotificationManager notifMgr, IFolderRepo folderRep, IFeatureRepo featureRep, ICCFolderRepo ccfolder, ICCItemRepo contacts, ICCConnectionsRepo subscription, ICCErrorLogRepo errorlogs, ICCHealthMsgs healthMsgs)
 {
     authProvider = auth;
     userRepository = urep;
     planRepository = pRepo;
     accountRepo = accRepo;
     CCFieldRepository = field;
     purchRepository = purRepo;
     notifManager = notifMgr;
     folderRepo = folderRep;
     featureRepository = featureRep;
     CCFolderRepository = ccfolder;
     CCContactRepository = contacts;
     CCConnectionRepository = subscription;
     CCErrorLogRepository = errorlogs;
     CCUserRepository = user;
     CCItemRepository = items;
     CCHealthMsgsRepository = healthMsgs;
     CCGroupRepository = group;
     CCGroupFieldRepository = groupfield;
 }
Exemplo n.º 8
0
 public FeatureController(IFeatureRepo iFeatureRepo)
 {
     this._iFeatureRepo = iFeatureRepo;
 }
 public FeatureServiceImpl(IFeatureRepo featureRepo)
 {
     _featureRepo = featureRepo;
 }
Exemplo n.º 10
0
 public FeatureController(IFeatureRepo feature)
 {
     this._feature = feature;
 }
Exemplo n.º 11
0
 public FeatureService(IFeatureRepo repo)
 {
     _repo = repo;
 }