Implements Image Manipulation in Files Page via QueryString
- Extracts the image creation into a service - Refactors Files Page GET action for better readability and cyclomatic complexity
This commit is contained in:
13
Oqtane.Shared/Interfaces/IImageService.cs
Normal file
13
Oqtane.Shared/Interfaces/IImageService.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Oqtane.Services
|
||||
{
|
||||
public interface IImageService
|
||||
{
|
||||
public string CreateImage(string filepath, int width, int height, string mode, string position, string background, string rotate, string imagepath);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user