public CalendarController(IConfiguration _configuration, PlanificatorSaliContext context, UserManager <ApplicationUser> userManager) { Configuration = _configuration; _DA = new DataAccess(this.Configuration.GetConnectionString("PlanificatorSaliContext")); _context = context; _userManager = userManager; }
//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; }
public SalaController(PlanificatorSaliContext context) { _context = context; }