public PostsController(ApplicationDbContext context, ILikeRespository likeRespository, IDislikeRepository dislikeRepository, IToastNotification toastNotification) { _context = context; _likeRespository = likeRespository; _dislikeRespository = dislikeRepository; _toastNotification = toastNotification; }
public HomeController(ApplicationDbContext context, ILikeRespository likeRespository, IDislikeRepository dislikeRepository) { _context = context; _likeRespository = likeRespository; _dislikeRespository = dislikeRepository; }