public SearchController(IPostRep postRep) { _postRep = postRep; }
public PostService(IPostRep postRep, ICommRep commRep) { _postRep = postRep; _commRep = commRep; }
public BlackListController(IPostRep postRep) { _postRep = postRep; }
public PostsController(ApplicationDbContext context, UserManager <ApplicationUser> userManager, IPostRep postRep) { _context = context; _userManager = userManager; _postRep = postRep; }
public PostsController(IPostRep iPostRep, IConfiguration configuration) { _iPostRep = iPostRep; config = configuration; }