private void DropBoxItem() { var priceTypeGrp = _priceTypeService.GetAll().Data.ToList(); var dailyWorkingTimeGrp = _dailyWorkingTimeService.GetAll().Data.ToList(); var priceGradeRiseGrp = _priceGradeRiseService.GetAll().Data.ToList(); ViewBag.PriceTypeGrpList = new SelectList(priceTypeGrp, "UcretTurId", "UcretTuru"); ViewBag.DailyWorkingTimeGrpList = new SelectList(dailyWorkingTimeGrp, "GunlukCalismaSureId", "GunlukCalismaSuresi"); ViewBag.PriceGradeRiseGrpList = new SelectList(priceGradeRiseGrp, "UcretDerecesineTerfiId", "UcretDerecesineTerfiNedeni"); }
private void DropBoxItem() { var workplaceGrp = _workplaceService.GetAll().Data.ToList(); var workplaceHeadquartersGrp = _workplaceHeadquartersService.GetAll().Data.ToList(); var priceTypeGrp = _priceTypeService.GetAll().Data.ToList(); var tisJobCodeGrp = _tisJobCodeService.GetAll().Data.ToList(); var adminStatusGrp = _adminStatusService.GetAll().Data.ToList(); var dailyWorkingTimeGrp = _dailyWorkingTimeService.GetAll().Data.ToList(); var disabilityStatusGrp = _privateStatusService.GetAll().Data.ToList(); var maritalStatusGrp = _maritalStatusService.GetAll().Data.ToList(); var genderGrp = _genderService.GetAll().Data.ToList(); var workingStatusGrp = _workingStatusService.GetAll().Data.ToList(); ViewBag.WorkingStatusGrpList = new SelectList(workingStatusGrp, "IstihtamDurumId", "IstihtamDurumu"); ViewBag.GenderGrpList = new SelectList(genderGrp, "CinsiyetId", "Cinsiyeti"); ViewBag.MaritalStatusGrpList = new SelectList(maritalStatusGrp, "MedeniHalId", "MedeniHali"); ViewBag.DisabilityStatusGrpList = new SelectList(disabilityStatusGrp, "OzelDurumId", "OzelDurumu"); ViewBag.DailyWorkingTimeGrpList = new SelectList(dailyWorkingTimeGrp, "GunlukCalismaSureId", "GunlukCalismaSuresi"); ViewBag.AdminStatusGrpList = new SelectList(adminStatusGrp, "IdarecilikDurumId", "IdarecilikDurumu"); ViewBag.PriceTypeGrpList = new SelectList(priceTypeGrp, "UcretTurId", "UcretTuru"); ViewBag.TisJobCodeGrpList = new SelectList(tisJobCodeGrp, "TisMeslekKodId", "TisMeslekAdi"); ViewBag.WorkplaceGrpList = new SelectList(workplaceGrp, "IsYeriId", "IsYeriAdi"); ViewBag.WorkplaceHeadquartersGrpList = new SelectList(workplaceHeadquartersGrp, "GenelMudurlukId", "GenelMudurluk"); }
public ActionResult DailyWorkingTimeGetAll() { var result = _dailyWorkingTimeService.GetAll().Data.ToList(); return(View("DailyWorkingTimeGetAll", result)); }