public TestController(ICommentSvc commentSvc, IHttpClientFactory clientFactory, IMapUtil mapUtil, IHttpClientUtil httpClientUtil) { _commentSvc = commentSvc; _clientFactory = clientFactory; _mapUtil = mapUtil; _httpClientUtil = httpClientUtil; }
/// <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; }
/// <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; }
public CommentController(ICommentSvc commentSvc) { _commentSvc = commentSvc; }
public TestController(ICommentSvc commentSvc, IArticleTypeSvc articleTypeSvc) { _commentSvc = commentSvc; _articleTypeSvc = articleTypeSvc; }