aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Controllers/RoleController.cs
blob: fda8bb2a61e233357008687de567eed169a8c720 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;
using System.Threading.Tasks;
using DevHive.Data.Repositories;
using DevHive.Services.Services;
using Microsoft.AspNetCore.Mvc;

namespace DevHive.Web.Controllers
{
	[ApiController]
	[Route("/api/[controller]")]
	public class RoleController
	{
		private readonly RoleService _service;

		public RoleController(DevHiveContext context)
		{
			//this._service = new RoleService(context);
		}

		[HttpPost]
		public Task<IActionResult> Create(string name)
		{
			//return this._service.CreatePost(name);
			throw new NotImplementedException();
		}

		[HttpGet]
		public Task<IActionResult> ShowPost(uint postId)
		{
			//return this._service.GetPostById(postId);
			throw new NotImplementedException();
		}
	}
}