Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="topicServices"></param>
 public TopicController(ITopicServices topicServices)
 {
     _topicServices = topicServices;
 }
Esempio n. 3
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="topicServices"></param>
 /// <param name="topicDetailServices"></param>
 public TopicDetailController(ITopicServices topicServices, ITopicDetailServices topicDetailServices)
 {
     _topicServices       = topicServices;
     _topicDetailServices = topicDetailServices;
 }
Esempio n. 4
0
 public HomeController(UserManager <IdentityUser> userManager,
                       SignInManager <IdentityUser> signInManager,
                       ITopicServices topicServices)
 {
     _topicServices = topicServices;
 }
Esempio n. 5
0
 public TopicController(ITopicServices TopicServive, ITopicDetailServices TopicDetailServive)
 {
     this.TopicServive       = TopicServive;
     this.TopicDetailServive = TopicDetailServive;
 }
Esempio n. 6
0
 public ReplyController(ITopicServices topicServices, IReplyServices replyServices)
 {
     this.topicServices = topicServices;
     this.replyServices = replyServices;
 }
Esempio n. 7
0
 public TopicController(ITopicServices topicServices, IForumServices forumServices)
 {
     this.topicServices = topicServices;
     this.forumServices = forumServices;
 }