Ajout de HelloFresh

This commit is contained in:
2025-09-03 20:17:50 +02:00
parent bcef0a472b
commit d287112b7d
429 changed files with 82881 additions and 22074 deletions

View File

@@ -0,0 +1,16 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
public abstract class AppController : Controller
{
public override void OnActionExecuting(ActionExecutingContext context)
{
var uid = HttpContext.Session.GetInt32("UserId");
var uname = HttpContext.Session.GetString("UserName");
ViewBag.UserId = uid;
ViewBag.UserName = uname;
base.OnActionExecuting(context);
}
}