C# Class Skimur.Web.Services.AvatarService

Inheritance: IAvatarService
Show file Open project: skimur/skimur

Public Methods

Method Description
AvatarService ( IPathResolver pathResolver, IFileSystem fileSystemProvider ) : System
GetAvatarStream ( string key ) : Stream
UploadAvatar ( IFormFile file, string key ) : string

Method Details

AvatarService() public method

public AvatarService ( IPathResolver pathResolver, IFileSystem fileSystemProvider ) : System
pathResolver IPathResolver
fileSystemProvider IFileSystem
return System

GetAvatarStream() public method

public GetAvatarStream ( string key ) : Stream
key string
return Stream

UploadAvatar() public method

public UploadAvatar ( IFormFile file, string key ) : string
file IFormFile
key string
return string