public VotingController(IRepository <VoteConfigurationViewModel> vcrepo, IRepository <VoteResult> resrepo, IRepository <VoteConfiguration> crepo, ElectionsIndiaContext db, IMapper mapper, IRepository <Countries> courepo, IRepository <States> strepo, IRepository <VW_DsitrictsWithActive> disrepo, IRepository <City> cirepo, IRepository <Areas> arepo, IRepository <ElectionWard> ewardrepo, IRepository <ElectionBooth> borepo, IRepository <ElectionKiosk> kioskrepo, IRepository <Candidates> carepo , IRepository <PoliticalParties> parepo, IRepository <ElectionType> typerepo, IRepository <VoteConfiguration> confrepo, CastVoteService castVoteService) { this.vcrepo = vcrepo; this.resrepo = resrepo; this.crepo = crepo; this.db = db; this.mapper = mapper; this.courepo = courepo; this.strepo = strepo; this.disrepo = disrepo; this.cirepo = cirepo; this.arepo = arepo; this.ewardrepo = ewardrepo; this.borepo = borepo; this.kioskrepo = kioskrepo; this.carepo = carepo; this.parepo = parepo; this.typerepo = typerepo; this.confrepo = confrepo; this.castVoteService = castVoteService; }
public GenericRepository(ElectionsIndiaContext context) { _context = context; if (_context != null) { entities = _context.Set <T>(); } }
public ElectionKioskController(IRepository <ElectionKiosk> ekrepo, ElectionsIndiaContext db, IRepository <ElectionBooth> boothrepo, ResourceManager resManager) { this.ekrepo = ekrepo; this.db = db; this.boothrepo = boothrepo; this.resManager = resManager; }
public StatesController(IRepository <States> staterepo, ElectionsIndiaContext db, IRepository <Countries> courepo, IRepository <Languages> langrepo, IRepository <StateLanguages> slangrepo) { _staterepo = staterepo; _db = db; _courepo = courepo; _langrepo = langrepo; _slangrepo = slangrepo; }
public ElectionWardController(IRepository <ElectionWardListViewModel> ewardrepo, ElectionsIndiaContext db, IRepository <ElectionWard> ewrepo, IRepository <ElectionArea> arerepo, IWardService wardService, IRepository <ElectionWard> wardRepo) { this.ewardrepo = ewardrepo; this.db = db; this.ewrepo = ewrepo; this.arerepo = arerepo; this.wardService = wardService; this.wardRepo = wardRepo; }
public DistrictsController(IRepository <Districts> distrepo, ElectionsIndiaContext db, IRepository <States> staterepo, IDistrictService districtService, IStringSplitter strSplitter) { _distrepo = distrepo; _db = db; _staterepo = staterepo; this.districtService = districtService; this.strSplitter = strSplitter; }
public CityController(IRepository <City> cityrepo, ElectionsIndiaContext db, IRepository <CityListViewModels> clrepo, IRepository <Districts> disrepo, ICityService cityService, IRepository <City> cityRepo, IStringSplitter strSplitter) { this.cityrepo = cityrepo; this.db = db; this.clrepo = clrepo; this.disrepo = disrepo; this.cityService = cityService; this.cityRepo = cityRepo; this.strSplitter = strSplitter; }
public CountriesController(IRepository <Countries> countryrep, ElectionsIndiaContext db, IRepository <Languages> langrepo, IRepository <CountryLanguages> countrylang , IRepository <States> stateRepo, IDistrictService distService, IStringSplitter strSplitter) { _countryrepo = countryrep; _db = db; _langrepo = langrepo; _countrylang = countrylang; this.stateRepo = stateRepo; this.distService = distService; this.strSplitter = strSplitter; }
public AreasController(IRepository <AreaListViewModel> alistrepo, ElectionsIndiaContext db, IRepository <States> staterepo, IRepository <Languages> langrepo, IRepository <Countries> courepo, IRepository <City> city, IRepository <ElectionArea> earepo , IAreaService areaService, IRepository <ElectionArea> areaRepo, IStringSplitter strSplitter) { _alistrepo = alistrepo; _db = db; _langrepo = langrepo; _staterepo = staterepo; _courepo = courepo; this.city = city; this.earepo = earepo; this.areaService = areaService; this.areaRepo = areaRepo; this.strSplitter = strSplitter; }
public PoliticalPartyController(IRepository <PoliticalPartyListViewModel> pprepo, ElectionsIndiaContext db, IRepository <Countries> courepo, IRepository <States> staterepo, IRepository <Languages> langrepo, IRepository <PoliticalPartyLanguages> plangrepo, IRepository <PoliticalPartyLanguagesCreateViewModel> crepo, IWebHostEnvironment hostingEnvironment) { this.pprepo = pprepo; this.db = db; this.courepo = courepo; this.staterepo = staterepo; this.langrepo = langrepo; this.plangrepo = plangrepo; this.crepo = crepo; this.hostingEnvironment = hostingEnvironment; }
public ElectionBoothController(IRepository <ElectionBooth> borepo, ElectionsIndiaContext db, IRepository <ElectionWard> wardrepo) { this.borepo = borepo; this.db = db; this.wardrepo = wardrepo; }
public DistrictService(ElectionsIndiaContext db) { this.db = db; }
public CastVoteService(ElectionsIndiaContext db) { this.db = db; }
public CityServices(ElectionsIndiaContext db) { this.db = db; }
public BoothService(ElectionsIndiaContext db) { this.db = db; }
public LanguagesController(IRepository <Languages> languagerepo, ElectionsIndiaContext db) { _languagerepo = languagerepo; _db = db; }
public WardService(ElectionsIndiaContext db) { this.db = db; }
public AreaService(ElectionsIndiaContext db) { this.db = db; }
public KioskService(ElectionsIndiaContext db) { this.db = db; }