aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Services/RoleService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Services/Services/RoleService.cs')
-rw-r--r--src/DevHive.Services/Services/RoleService.cs20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/DevHive.Services/Services/RoleService.cs b/src/DevHive.Services/Services/RoleService.cs
index 202c611..9077a47 100644
--- a/src/DevHive.Services/Services/RoleService.cs
+++ b/src/DevHive.Services/Services/RoleService.cs
@@ -1,26 +1,38 @@
using System;
using System.Threading.Tasks;
using DevHive.Data.Repositories;
+using DevHive.Services.Models.Identity.Role;
+using Microsoft.AspNetCore.Mvc;
namespace DevHive.Services.Services
{
public class RoleService
{
- /* private readonly DevHiveContext _context;
+ private readonly DevHiveContext _context;
public RoleService(DevHiveContext context)
{
this._context = context;
}
- public Task<IActionResult> CreatePost(string name)
+ public Task<IActionResult> CreateRole(RoleServiceModel roleServiceModel)
{
throw new NotImplementedException();
}
- public Task<IActionResult> GetPostById(uint postId)
+ public Task<IActionResult> GetRoleById(Guid id)
{
throw new NotImplementedException();
- }*/
+ }
+
+ public Task<IActionResult> UpdateRole(RoleServiceModel roleServiceModel)
+ {
+ throw new NotImplementedException();
+ }
+
+ public Task<IActionResult> DeleteRole(Guid id)
+ {
+ throw new NotImplementedException();
+ }
}
}