-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFolderController.cs
64 lines (55 loc) · 2 KB
/
FolderController.cs
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
using Domain.Shared.Entities;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Presentation.Abstractions;
namespace Presentation.AltControllers
{
[Route("api/[controller]")]
public sealed class FolderController : ApiController
{
public FolderController(ISender sender) : base(sender)
{
}
[HttpGet]
[Route(nameof(GetUserFolders))]
public async Task<IActionResult> GetUserFolders(CancellationToken cancellation)
{
throw new NotImplementedException();
}
// Used for refreshing. Do we need this?
[HttpGet]
[Route(nameof(GetFolder))]
public async Task<IActionResult> GetFolder(EntryIdPair entryIdPair, CancellationToken cancellation)
{
throw new NotImplementedException();
}
[HttpPost]
[Route(nameof(CreateFolders))]
public async Task<IActionResult> CreateFolders([FromBody] List<FolderDTO> folders, CancellationToken cancellation)
{
throw new NotImplementedException();
}
[HttpPut]
[Route(nameof(UpdateFolders))]
public async Task<IActionResult> UpdateFolders([FromBody] List<UpdateFolderInfo> updateFolderInfos, CancellationToken cancellation)
{
throw new NotImplementedException();
}
[HttpDelete]
[Route(nameof(DeleteFolders))]
public async Task<IActionResult> DeleteFolders([FromBody] List<EntryIdPair> folders, CancellationToken cancellation)
{
throw new NotImplementedException();
}
[HttpPut]
[Route(nameof(AddToMyNightOuts))]
public async Task<IActionResult> AddToMyNightOuts([FromBody] List<EntryIdPair> folders, CancellationToken cancellation)
{
throw new NotImplementedException();
}
public class UpdateFolderInfo
{
// List of modified properties? Updated DTO?
}
}
}