public UtentiController(NContext context, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager) { _context = context; _userManager = userManager; _signInManager = signInManager; }
public AccountController(NContext context, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ILogger <RegisterModel> logger, IEmailSender emailSender) { _context = context; _userManager = userManager; _signInManager = signInManager; _logger = logger; _emailSender = emailSender; }
// GET: News/Create public IActionResult Create() { NContext db = new NContext(); List <SelectListItem> categories = new List <SelectListItem>(); foreach (var c in db.categories.ToList()) { categories.Add(new SelectListItem { Text = c.CategoryName, Value = c.CategoryId.ToString() }); } ViewBag.Category = categories; return(View()); }
public PrenotazioneController(NContext context) { _context = context; }
public ArticoloController(NContext context) { _context = context; }
public GraficiController(NContext context) { _context = context; }
public GameRepository(NContext context) { this.context = context; }
public VersamentiApiController(NContext context) { _context = context; }
public StazioneController(NContext context) { _context = context; }
public RoleController(RoleManager <IdentityRole> roleMgr, UserManager <ApplicationUser> userMrg, NContext context) { roleManager = roleMgr; userManager = userMrg; _context = context; }
public LineeApiController(NContext context) { _context = context; }
public ComponenteArticoloController(NContext context) { _context = context; }
public DatabaseSeeder(NContext context) { _context = context; //Uses the GameRepo to add new Games and add friends repo = new GameRepository(context); }
public GraficiComponentiApiController(NContext context) { _context = context; }
public NewsController(NContext context) { _context = context; // _newsGatewayRepository = newsGatewayRepository; }