public FileMediaService(IFileMetadataRepository fileMetadataRepo, IFileMediaRepository fileMediaRepo, IUnitOfWork unitOfWork) { _fileMetadataRepo = fileMetadataRepo; _fileMediaRepo = fileMediaRepo; _unitOfWork = unitOfWork; }
public FileTransferService() { _fileMetadataRepo = DependencyResovler.GobalContainer().Resolve<IFileMetadataRepository>(); _fileMediaRepo = DependencyResovler.GobalContainer().Resolve<IFileMediaRepository>(); _fileMediaService = DependencyResovler.GobalContainer().Resolve<IFileMediaService>(); }