init
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
using System.Web.Mvc;
|
||||
using Kreta.BusinessLogic.HelperClasses;
|
||||
using Kreta.BusinessLogic.Helpers;
|
||||
using Kreta.BusinessLogic.Security;
|
||||
using Kreta.Resources;
|
||||
using Kreta.Web.Helpers;
|
||||
using Kreta.Web.Security;
|
||||
|
||||
namespace Kreta.Web.Areas.Adatszolgaltatasok.Controllers
|
||||
{
|
||||
[MvcRoleClaimsAuthorize(true)]
|
||||
[MvcRolePackageDenyAuthorize(KretaClaimPackages.IsOnlyAlkalmozott.ClaimValue)]
|
||||
[MvcRolePackageAuthorize(KretaClaimPackages.Adminisztrator.ClaimValue)]
|
||||
public class HittanOraszamController : Controller
|
||||
{
|
||||
public ActionResult Index()
|
||||
{
|
||||
TanevCO tanevCo;
|
||||
|
||||
var tanev = new TanevHelper(ConnectionTypeExtensions.GetSessionConnectionType());
|
||||
tanevCo = tanev.GetTanevInfo();
|
||||
|
||||
ViewBag.DateColumnTitle = string.Format(AdatszolgaltatasokResource.HittanCsoportLetszamOktoberFormat, tanevCo.KezdoNap.Year.ToString());
|
||||
|
||||
return View("Index");
|
||||
}
|
||||
|
||||
public ActionResult IndexForJanuar()
|
||||
{
|
||||
TanevCO tanevCo;
|
||||
|
||||
var tanev = new TanevHelper(ConnectionTypeExtensions.GetSessionConnectionType());
|
||||
tanevCo = tanev.GetTanevInfo();
|
||||
|
||||
ViewBag.DateColumnTitle = string.Format(AdatszolgaltatasokResource.HittanCsoportLetszamFebruarFormat, tanevCo.UtolsoNap.Year.ToString());
|
||||
|
||||
return View("IndexForJanuar");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user