C# Класс Purchasing.Mvc.Services.FileService

Наследование: IFileService
Показать файл Открыть проект

Открытые методы

Метод Описание
FileService ( Guid>.IRepositoryWithTypedId attachmentRepository ) : System
GetAttachment ( System.Guid id ) : Attachment

Return the attachment associated with the given attachmentId, with contents populated

UploadAttachment ( System.Guid id, Stream fileStream ) : void

Upload an attachment to blob storage

Описание методов

FileService() публичный Метод

public FileService ( Guid>.IRepositoryWithTypedId attachmentRepository ) : System
attachmentRepository Guid>.IRepositoryWithTypedId
Результат System

GetAttachment() публичный Метод

Return the attachment associated with the given attachmentId, with contents populated
public GetAttachment ( System.Guid id ) : Attachment
id System.Guid attachmentID
Результат Attachment

UploadAttachment() публичный Метод

Upload an attachment to blob storage
public UploadAttachment ( System.Guid id, Stream fileStream ) : void
id System.Guid
fileStream Stream
Результат void