Esempio n. 1
0
 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 = "" }));
 }
Esempio n. 2
0
        public JsonResult GetUserpostedJobs()
        {
            var Data = UserJobPostingservice.GetUserPosetdJobs(Convert.ToInt32(Session["UserId"]));

            return(Json(Data, JsonRequestBehavior.AllowGet));
        }