You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LuController.cs 503B

123456789101112131415
  1. using System.Collections.Generic;
  2. using Microsoft.AspNetCore.Mvc;
  3. using Microsoft.AspNetCore.SignalR.Infrastructure;
  4. namespace Luticate2.Utils.Controllers
  5. {
  6. public abstract class LuController : Controller
  7. {
  8. protected IConnectionManager ConnectionManager { get; set; }
  9. protected IDictionary<object, object> LuItems => (IDictionary<object, object>) HttpContext.Items["luticateItems"];
  10. // protected UsersDbo LuCurrentUser => (UsersDbo) LuItems["luticateItems"];
  11. }
  12. }