Esempio n. 1
0
 /// <summary>
 /// 初始化控制器
 /// <param name="wctCommentMstrService">评论服务</param>
 /// <param name="wctCommentMstrRepository">评论仓储</param>
 /// </summary>
 public WctCommentMstrController(IWctCommentMstrService wctCommentMstrService,
                                 IWctCommentMstrRepository wctCommentMstrRepository)
 {
     _wctCommentMstrService    = wctCommentMstrService;
     _wctCommentMstrRepository = wctCommentMstrRepository;
 }
 /// <summary>
 /// 初始化服务
 /// </summary>
 public WctCommentMstrService(IWctCommentMstrRepository wctCommentMstrRepository)
 {
     _wctCommentMstrRepository = wctCommentMstrRepository;
 }