aboutsummaryrefslogtreecommitdiff
path: root/API/Service/RoleService.cs
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2020-12-13 12:29:02 +0200
committertranstrike <transtrike@gmail.com>2020-12-13 12:29:02 +0200
commit3abbc13bcc55e68740564457fff455c849a1cd8a (patch)
tree84eadad792ff05ba171c75de9e9a5376aa8cf752 /API/Service/RoleService.cs
parent3f9d6457360bba2eef24c013c5ba40fa92bf8cc7 (diff)
downloadDevHive-3abbc13bcc55e68740564457fff455c849a1cd8a.tar
DevHive-3abbc13bcc55e68740564457fff455c849a1cd8a.tar.gz
DevHive-3abbc13bcc55e68740564457fff455c849a1cd8a.zip
Ordering Models
Diffstat (limited to 'API/Service/RoleService.cs')
-rw-r--r--API/Service/RoleService.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/API/Service/RoleService.cs b/API/Service/RoleService.cs
new file mode 100644
index 0000000..82c89b8
--- /dev/null
+++ b/API/Service/RoleService.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Threading.Tasks;
+using API.Database;
+using Microsoft.AspNetCore.Mvc;
+
+namespace API.Service
+{
+ public class RoleService
+ {
+ private readonly DevHiveContext _context;
+
+ public RoleService(DevHiveContext context)
+ {
+ this._context = context;
+ }
+
+ public Task<IActionResult> CreatePost(string name)
+ {
+ throw new NotImplementedException();
+ }
+
+ public Task<IActionResult> GetPostById(uint postId)
+ {
+ throw new NotImplementedException();
+ }
+ }
+}