public PostImagesController(
     IPostImageModelFactory postImageModelFactory,
     ILocalizedEntityService localizedEntityService,
     ILocalizationService localizationService,
     IPostImagesService postImagesService)
 {
     _postImageModelFactory  = postImageModelFactory;
     _localizedEntityService = localizedEntityService;
     _localizationService    = localizationService;
     _postImagesService      = postImagesService;
 }
Exemple #2
0
 public PostController(IUserProfileService userProfileService, IPostService postService,
                       IPostImagesService postImagesService, IWebHostEnvironment env, ICategoryService categoryService,
                       ILikesService likesService, ICommentService commentService)
 {
     _userProfileService = userProfileService;
     _postService        = postService;
     _postImagesService  = postImagesService;
     _env             = env;
     _categoryService = categoryService;
     _likesService    = likesService;
     _commentService  = commentService;
 }
 public PostImagesController(IPostImagesService service)
 {
     _service = service;
 }