添加项目文件。
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
|
||||
namespace UserService.ImageUpload
|
||||
{
|
||||
public interface IImageUploadService
|
||||
{
|
||||
bool ValidateImage(IFormFile file, out string errorMessage);
|
||||
|
||||
Task<(bool isOk, string path, string fileName, string errorMessage)> UploadImageAsync(IFormFile file);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user