示例#1
0
 public CalendarController(IConfiguration _configuration, PlanificatorSaliContext context, UserManager <ApplicationUser> userManager)
 {
     Configuration = _configuration;
     _DA           = new DataAccess(this.Configuration.GetConnectionString("PlanificatorSaliContext"));
     _context      = context;
     _userManager  = userManager;
 }
示例#2
0
        //mail:


        public AccountController(IMapper mapper, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IEmailSender emailSender, PlanificatorSaliContext context)
        {
            _mapper        = mapper;
            _userManager   = userManager;
            _signInManager = signInManager;
            _emailSender   = emailSender;
            _context       = context;
        }
示例#3
0
 public SalaController(PlanificatorSaliContext context)
 {
     _context = context;
 }