init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue