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

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