Exemple #1
0
 public PostManager(IPostDal postDal, IElasticSearchService elasticSearchService, ITagService tagService, IUserService userService)
 {
     _postDal = postDal;
     _elasticSearchService = elasticSearchService;
     _tagService           = tagService;
     _userService          = userService;
 }
Exemple #2
0
 public PostManager(
     IPostDal postDal,
     ICustomUserService customUserService
     )
 {
     _customUserService = customUserService;
     _postDal           = postDal;
 }
Exemple #3
0
 public PostManager(IPostDal postDal)
 {
     this._postDal = postDal;
 }
 public PostService(IPostDal postDal, IPostCategoryService postCategoryService, ICommentService commentService)
 {
     _postDal             = postDal;
     _postCategoryService = postCategoryService;
     _commentService      = commentService;
 }
Exemple #5
0
 public UserManager(IUserDal userDal, IPostDal postDal)
 {
     _userDal = userDal;
     _postDal = postDal;
 }
Exemple #6
0
 public PostManager(IPostDal postDal, IUserDal userDal)
 {
     _postDal = postDal;
     _userDal = userDal;
 }
Exemple #7
0
 public PostService(IPostDal postdal)
     : base(postdal)
 {
 }
Exemple #8
0
 public PostManager(IGenericDal <Post> genericDal, IPostDal postDal) : base(genericDal)
 {
     this.genericDal = genericDal;
     this.postDal    = postDal;
 }
Exemple #9
0
 public MongoUser(IUserDal userDal, IPostDal postDal)
 {
     _userDal = userDal;
     _postDal = postDal;
 }
Exemple #10
0
 public PostService(IPostDal postDal)
 {
     _postDal = postDal;
 }
Exemple #11
0
 public PostController(IServiceProvider svp, IPostDal postDal, IPostService postService)
 {
     _svp         = svp;
     _postDal     = postDal;
     _postService = postService;
 }
Exemple #12
0
 public UserService(IUserDal userDal, IPostDal postDal)
 {
     _userDal = userDal;
     _postDal = postDal;
 }
 public PostManager(IPostDal postDal) => _postDal = postDal;
 public PostService(IPostDal _postDal)
 {
     this._postDal = _postDal;
 }
Exemple #15
0
 public PostService()
 {
     postDal = new PostDal();
 }
 public PostManager(IPostDal postDal, IPostStatService postStatService)
 {
     _postDal         = postDal;
     _postStatService = postStatService;
 }
 public PostManager(IPostDal postDal)
 {
     _postDal = postDal;
 }
 public PostManager(IPostDal post)
 {
     _dal = post;
 }
Exemple #19
0
 public PostsController(IPostDal postDal, IPostService postService)
 {
     _postDal     = postDal;
     _postService = postService;
 }
Exemple #20
0
 public PostManager(IPostDal postDal, IMapper mapper)
 {
     _postDal = postDal;
     _mapper  = mapper;
 }