Ejemplo n.º 1
0
        public RegisterCustomerModel(
            UserManager <IdentityUser> userManager,
            SignInManager <IdentityUser> signInManager,
            ILogger <RegisterCustomerModel> logger,
            IEmailSender emailSender,
            Post_Deals_IDContext _context,
            Post_Deals_Context _dataContext

            )
        {
            dataContext    = _dataContext;
            _userManager   = userManager;
            _signInManager = signInManager;
            _logger        = logger;
            _emailSender   = emailSender;
            var roleStore = new RoleStore <IdentityRole>(_context);

            _roleManager = new RoleManager <IdentityRole>(roleStore, null, null, null, null);
        }
 public CustomersController(Post_Deals_Context context)
 {
     _context = context;
 }
 public DealsController(Post_Deals_Context context)
 {
     _context = context;
 }
Ejemplo n.º 4
0
 public CompaniesController(Post_Deals_Context context)
 {
     _context = context;
 }