C# 클래스 Purchasing.Mvc.Services.FileService

상속: IFileService
파일 보기 프로젝트 열기: ucdavis/Purchasing

공개 메소드들

메소드 설명
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