public HomeController(IsysUserInfoServices userinfs, IBlogArticleServices BlogArticleServive, IAdvertisementServices AdvertisementServices, IGuestbookServices GuestbookServices, ITopicServices TopicServive, ITopicDetailServices TopicDetailServive) { this.userinfoservice = userinfs; this.BlogArticleServive = BlogArticleServive; this.AdvertisementServices = AdvertisementServices; this.GuestbookServices = GuestbookServices; this.TopicServive = TopicServive; this.TopicDetailServive = TopicDetailServive; }
/// <summary> /// 构造函数 /// </summary> /// <param name="topicServices"></param> public TopicController(ITopicServices topicServices) { _topicServices = topicServices; }
/// <summary> /// 构造函数 /// </summary> /// <param name="topicServices"></param> /// <param name="topicDetailServices"></param> public TopicDetailController(ITopicServices topicServices, ITopicDetailServices topicDetailServices) { _topicServices = topicServices; _topicDetailServices = topicDetailServices; }
public HomeController(UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, ITopicServices topicServices) { _topicServices = topicServices; }
public TopicController(ITopicServices TopicServive, ITopicDetailServices TopicDetailServive) { this.TopicServive = TopicServive; this.TopicDetailServive = TopicDetailServive; }
public ReplyController(ITopicServices topicServices, IReplyServices replyServices) { this.topicServices = topicServices; this.replyServices = replyServices; }
public TopicController(ITopicServices topicServices, IForumServices forumServices) { this.topicServices = topicServices; this.forumServices = forumServices; }