C# Class Core.Utilities.Helpers.CarImageHelper

Exibir arquivo Open project: deveross/ReCapProject

Public Methods

Method Description
Add ( IFormFile file ) : string
CreateGuidFilePath ( IFormFile file ) : string
Delete ( string sourcePath ) : IResult
Update ( string oldPath, IFormFile file ) : string

Method Details

Add() public static method

public static Add ( IFormFile file ) : string
file IFormFile
return string

CreateGuidFilePath() public static method

public static CreateGuidFilePath ( IFormFile file ) : string
file IFormFile
return string

Delete() public static method

public static Delete ( string sourcePath ) : IResult
sourcePath string
return IResult

Update() public static method

public static Update ( string oldPath, IFormFile file ) : string
oldPath string
file IFormFile
return string