public TestController(ICommentSvc commentSvc, IHttpClientFactory clientFactory, IMapUtil mapUtil, IHttpClientUtil httpClientUtil)
 {
     _commentSvc     = commentSvc;
     _clientFactory  = clientFactory;
     _mapUtil        = mapUtil;
     _httpClientUtil = httpClientUtil;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="mapper"></param>
 /// <param name="testDB"></param>
 /// <param name="util"></param>
 /// <param name="commentSvc"></param>
 public ArticleSvc(
     IMapper mapper,
     TestDBContext testDB,
     ITreeUtil util,
     ICommentSvc commentSvc
     ) : base(mapper, testDB)
 {
     _util       = util;
     _commentSvc = commentSvc;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="testDB"></param>
 /// <param name="util"></param>
 /// <param name="dbContextExtendSvc"></param>
 /// <param name="commentSvc"></param>
 public ArticleSvc(
     TestDBContext testDB,
     ITreeUtil util,
     IDbContextExtendSvc dbContextExtendSvc,
     ICommentSvc commentSvc
     ) : base(testDB)
 {
     _util = util;
     _dbContextExtendSvc = dbContextExtendSvc;
     _commentSvc         = commentSvc;
 }
Ejemplo n.º 4
0
 public CommentController(ICommentSvc commentSvc)
 {
     _commentSvc = commentSvc;
 }
Ejemplo n.º 5
0
 public TestController(ICommentSvc commentSvc, IArticleTypeSvc articleTypeSvc)
 {
     _commentSvc     = commentSvc;
     _articleTypeSvc = articleTypeSvc;
 }