public AccountController(Twitter2Context context, IMapper mapper, UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, RoleManager <IdentityRole> roleManager, IWebHostEnvironment hostingEnvironment) { _context = context; // _emailSender = emailSender; _mapper = mapper; _userManager = userManager; _signInManager = signInManager; _roleManager = roleManager; _hostingEnvironment = hostingEnvironment; }
public PublicacionController(PublicacionRepository repository, IWebHostEnvironment hostingEnvironment, Twitter2Context context) { _repository = repository; _hostingEnvironment = hostingEnvironment; _context = context; }