コード例 #1
0
 public PostFileService(IPostFileRepository postFileRepository,
                        IImageBlobService blobService, IVideoBlobService videoBlobService)
 {
     _imageBlobService   = blobService;
     _postFileRepository = postFileRepository;
     _videoBlobService   = videoBlobService;
 }
コード例 #2
0
 public UserPostService(IUserPostRepository userPostRepository,
                        IImageBlobService blobService, IMapper mapper = null,
                        IVideoBlobService videoBlobService            = null, IFileOptimizationService fileOptimizationService = null)
 {
     _userPostRepository      = userPostRepository;
     _mapper                  = mapper;
     _imageBlobService        = blobService;
     _videoBlobService        = videoBlobService;
     _fileOptimizationService = fileOptimizationService;
 }