diff options
Diffstat (limited to 'Services/IPrizeService.cs')
-rw-r--r-- | Services/IPrizeService.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Services/IPrizeService.cs b/Services/IPrizeService.cs new file mode 100644 index 0000000..c7261ab --- /dev/null +++ b/Services/IPrizeService.cs @@ -0,0 +1,12 @@ +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.JsonPatch; +using BackendPIA.Models; + +namespace BackendPIA.Services { + public interface IPrizeService { + public Task<Prize> CreatePrize(Prize to_create); + public Task<IEnumerable<Prize>> GetPrizes(); + public Task<Prize> GetPrize(long id); + public Task<bool> DeletePrize(long id); + } +}
\ No newline at end of file |