mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: auth, compression, jwt, paste wip, roles, ratelimiting
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using SharpbinV3.Data.Entities;
|
||||
|
||||
namespace SharpbinV3.Services
|
||||
{
|
||||
public interface IPasteService
|
||||
{
|
||||
Task<Paste> Create(Paste paste);
|
||||
Task<bool> Delete(Paste paste);
|
||||
Task<Paste> Edit(Paste paste);
|
||||
Task<bool> Exists(string id);
|
||||
Task<bool> EditText(Paste paste, string text);
|
||||
Task<Paste> Get(string id);
|
||||
Task<List<Paste>> GetList(int offset, int count);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user