public ActionResult CheckApprovalUse() { bool success1; success1 = GlavnaDAO.CheckGlavnaApproval(Convert.ToInt32(HttpContext.Session.GetInt32("ApprovalGlavnaID")), HttpContext.Session.GetObjectFromJson <KorisnikModel>("LogovaniKorisnik").Id); return(Json(new { success = success1 })); }