This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,29 @@
using System.Web.Mvc;
using Kreta.BusinessLogic.Security;
using Kreta.Web.Areas.Tanulo.Models;
using Kreta.Web.Security;
namespace Kreta.Web.Areas.Tanulo.Controllers
{
[MvcRoleClaimsAuthorize(true)]
[MvcRolePackageAuthorize(KretaClaimPackages.Tanar.ClaimValue)]
public class TanarTanitottTanulokController : Controller
{
public ActionResult Index(bool? csakBukasraAllok = null)
{
var model = new TanarTanitottTanulokSearchModel
{
CsakBukasraAllok = csakBukasraAllok ?? false,
EnableRowFunctions = ClaimData.FelhasznaloSzerepCsomagok.Contains(KretaClaimPackages.FelhasznaloMunkakoreNemTiltoListas.ClaimValue)
};
return View("Index", model);
}
public ActionResult OpenStartPopup()
{
var model = new TanarTanitottTanulokStartPopUpModel();
return PartialView("Start_Popup", model);
}
}
}