Exemplo n.º 1
0
 public PostsController(ApplicationDbContext context, ILikeRespository likeRespository, IDislikeRepository dislikeRepository, IToastNotification toastNotification)
 {
     _context            = context;
     _likeRespository    = likeRespository;
     _dislikeRespository = dislikeRepository;
     _toastNotification  = toastNotification;
 }
Exemplo n.º 2
0
 public HomeController(ApplicationDbContext context, ILikeRespository likeRespository, IDislikeRepository dislikeRepository)
 {
     _context            = context;
     _likeRespository    = likeRespository;
     _dislikeRespository = dislikeRepository;
 }