// provides the APIs for interacting with the Users in the data-storage. public ThreadController(IThreadEntity threadEntityService, IForumEntity forumEntityService, IApplicationUser appUserService, UserManager <ApplicationUser> userManager) { _forumEntityService = forumEntityService; _threadEntityService = threadEntityService; _appUserService = appUserService; _userManager = userManager; }
public ForumController(IThreadEntity threadEntityService, IForumEntity forumEntityService, IBoardEntity boardEntityService, IUpload uploadService, IConfiguration configService) { _boardEntityService = boardEntityService; _forumEntityService = forumEntityService; _threadEntityService = threadEntityService; _uploadService = uploadService; //For file upload handling, ex. profile pictures. _configuration = configService; }