change some logic to the repositories
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace Francesco.Recipes.World.Repositories.MediaFile
|
||||
{
|
||||
public interface IMediaFileRepository
|
||||
{
|
||||
Task ReplaceInstructionImageAsync(Guid instructionId, IFormFile? newPhoto);
|
||||
|
||||
Task UploadInstructionImageAsync(Guid instructionId, IFormFile? photo);
|
||||
|
||||
Task ReplaceRecipeImageAsync(Guid recipeId, IFormFile? newPhoto);
|
||||
|
||||
Task UploadRecipeImageAsync(Guid recipeId, IFormFile? photo);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user