public LicensePlateModel( UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, IParkTDB context) { _userManager = userManager; _signInManager = signInManager; _context = context; }
public RegisterModel( UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, ILogger <RegisterModel> logger, IEmailSender emailSender, IParkTDB context) { _userManager = userManager; _signInManager = signInManager; _logger = logger; _emailSender = emailSender; _context = context; }
/// <summary> /// Construtor da classe, recebe como parametro o objeto da BD /// </summary> /// <param name="context"></param> public ReservationController(IParkTDB context) { db = context; }