Exemplo n.º 1
0
 public LicensePlateModel(
     UserManager <IdentityUser> userManager,
     SignInManager <IdentityUser> signInManager,
     IParkTDB context)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _context       = context;
 }
Exemplo n.º 2
0
 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;
 }