public ActionResult MyPostedJobs() { if (Session["UserId"] != null) { var model = UserJobPostingservice.GetUserPosetdJobs(Convert.ToInt32(Session["UserId"].ToString())); return(View(model)); } return(RedirectToAction(LoginPages.Login, LoginPages.Account, new { area = "" })); }
public JsonResult GetUserpostedJobs() { var Data = UserJobPostingservice.GetUserPosetdJobs(Convert.ToInt32(Session["UserId"])); return(Json(Data, JsonRequestBehavior.AllowGet)); }