public ActionResult RVwJobApp() { string type = (string)Session["TypeOfUser"]; if (type == null) { return RedirectToAction("Index", "Home"); } else if (type.CompareTo("Representative") != 0) { return RedirectToAction("Index", "Home"); } string RepName = (string)(Session["Username"]); List<string> StreamCodes = new DataAccess.RepresentativeDAL().JobStreamCodes(RepName); ViewBag.JobDomainL = StreamCodes; return View(); }
public ActionResult RSelJobCan() { string type = (string)Session["TypeOfUser"]; if (type == null) { return RedirectToAction("Index", "Home"); } else if (type.CompareTo("Representative") != 0) { return RedirectToAction("Index", "Home"); } string RepName = (string)(Session["Username"]); List<string> JobIds = new DataAccess.RepresentativeDAL().JobIDListAll(RepName); ViewBag.JobIdL = JobIds; return View(); }
public ActionResult RVwTrainCan(string tid) { Training traindetails = new DataAccess.RepresentativeDAL().TrainingDetailOf(tid); return Json(traindetails); }
public ActionResult RVwWSApp() { string type = (string)Session["TypeOfUser"]; if (type == null) { return RedirectToAction("Index", "Home"); } else if (type.CompareTo("Representative") != 0) { return RedirectToAction("Index", "Home"); } string RepName = (string)(Session["Username"]); List<string> Domains = new DataAccess.RepresentativeDAL().WorkshopDomainsAll(RepName); ViewBag.WSDomainL = Domains; return View(); }
public ActionResult RejectTrainingCandidate(int applicantId) { int returnValue = new DataAccess.RepresentativeDAL().RejectTrainingApplicant(applicantId); return Json(returnValue); }
public ActionResult RVwTrainApplicants(string tid) { TrainApplicantsViewModel TrainApps = new DataAccess.RepresentativeDAL().TrainingApplicantsFor(tid); return Json(TrainApps); }
public ActionResult addJobsTODb(RepresentativeAddJobOffer obj) { int id=(int)Session["UserID"]; int val=new DataAccess.RepresentativeDAL().addJobOffer(obj,id); return View("SuccessPage"); }
public ActionResult RVwJobApplicants(string jid) { JobApplicantViewModel JobApps = new DataAccess.RepresentativeDAL().JobApplicantsDetail(jid); return Json(JobApps); }
public ActionResult RVwWSPreReq(string wid) { WSPrerequisite prereq = new DataAccess.RepresentativeDAL().WorkshopPrerequisiteOf(wid); return Json(prereq); }
public ActionResult SelectedWSApplicants(int wid) { WSSelectedAppsVM WSApps = new DataAccess.RepresentativeDAL().SelectedWSApplicantsD(wid); return Json(WSApps); }
public ActionResult RVwJobPreReq(string jobid) { JobPrerequisite prereq = new DataAccess.RepresentativeDAL().JobPrerequisiteDetail(jobid); return Json(prereq); }
public ActionResult RVwWSApp1(string domain) { string repName = (string)(Session["Username"]); List<string> WIDs = new DataAccess.RepresentativeDAL().PendingWorkshopIDs(domain, repName); return Json(WIDs); }
public ActionResult JobCandidateByCompany(string jobId) { SelJCanViewModel jobapplns = new DataAccess.RepresentativeDAL().SelectedJobApplicants(jobId); return Json(jobapplns); }
public ActionResult TrainingCandidateByCompany(string trainingId) { SelTCanViewModel trainingapplns = new DataAccess.RepresentativeDAL().TrainingApplicantDetail(trainingId); return Json(trainingapplns); }
public ActionResult TrainingCandidateByCompany() { string type = (string)Session["TypeOfUser"]; if (type == null) { return RedirectToAction("Index", "Home"); } else if (type.CompareTo("Representative") != 0) { return RedirectToAction("Index", "Home"); } string RepName = (string)(Session["Username"]); List<string> TrainingIds = new DataAccess.RepresentativeDAL().TrainingIDListApplied(RepName); ViewBag.MyList = TrainingIds; return View(); }
public ActionResult TrainingApplicantByCompany(string trainingId) { Training traindetails = new DataAccess.RepresentativeDAL().TrainingDetailOf(trainingId); return Json(traindetails); }
public ActionResult addTrainingTODb(RepresentativeAddTrainingOffer obj) { int id = (int)Session["UserID"]; string comp = (string)Session["UserName"]; obj.Company = comp; int val = new DataAccess.RepresentativeDAL().addTrainingOffer(obj, id); return View("SuccessPage"); }
public ActionResult RVwWSApplicants(string wid) { string repName = (string)(Session["Username"]); WSPendAppViewModel WSPendApps = new DataAccess.RepresentativeDAL().PendingWSApplications(wid, repName); return Json(WSPendApps); }
public ActionResult RSelJobCan(string jobid) { SelJCanViewModel jobapplns = new DataAccess.RepresentativeDAL().SelectedJobApplicants(jobid); return Json(jobapplns); }
public ActionResult SelectedWorkshopApp() { string type = (string)Session["TypeOfUser"]; if (type == null) { return RedirectToAction("Index", "Home"); } else if (type.CompareTo("Representative") != 0) { return RedirectToAction("Index", "Home"); } string RepName = (string)(Session["Username"]); List<int> WorkshopIds = new DataAccess.RepresentativeDAL().WorkshopIdList(RepName); ViewBag.WorkshopIdL = WorkshopIds; return View(); }
public ActionResult RVwJobApp1(string streamcode) { List<string> JobIDs = new DataAccess.RepresentativeDAL().JobIDList(streamcode); return Json(JobIDs); }
public ActionResult SelectWorkshopCandidate(int applicantId) { int returnValue = new DataAccess.RepresentativeDAL().SelectWorkshopApplicant(applicantId); return Json(returnValue); }
public ActionResult RSelTrainCan(string trainid) { SelTCanViewModel trainingapplns = new DataAccess.RepresentativeDAL().TrainingApplicantDetail(trainid); return Json(trainingapplns); }