-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPreprocessingService.cs
69 lines (56 loc) · 2.18 KB
/
PreprocessingService.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
65
66
67
68
69
using System.Text.Json;
using Crud.Api.QueryModels;
using Crud.Api.Results;
namespace Crud.Api.Services
{
public class PreprocessingService : IPreprocessingService
{
public PreprocessingService()
{
}
public Task<MessageResult> PreprocessCreateAsync(Object model)
{
return Task.FromResult(new MessageResult(true));
}
public Task<MessageResult> PreprocessReadAsync(Object model, Guid id)
{
return Task.FromResult(new MessageResult(true));
}
public Task<MessageResult> PreprocessReadAsync(Object model, IDictionary<String, String>? queryParams)
{
return Task.FromResult(new MessageResult(true));
}
public Task<MessageResult> PreprocessReadAsync(Object model, Query query)
{
return Task.FromResult(new MessageResult(true));
}
public Task<MessageResult> PreprocessReadCountAsync(Object model, Query query)
{
return Task.FromResult(new MessageResult(true));
}
public Task<MessageResult> PreprocessUpdateAsync(Object model, Guid id)
{
return Task.FromResult(new MessageResult(true));
}
public Task<MessageResult> PreprocessPartialUpdateAsync(Object model, Guid id, IDictionary<String, JsonElement> propertyValues)
{
return Task.FromResult(new MessageResult(true));
}
public Task<MessageResult> PreprocessPartialUpdateAsync(Object model, IDictionary<String, String>? queryParams, IDictionary<String, JsonElement> propertyValues)
{
return Task.FromResult(new MessageResult(true));
}
public Task<MessageResult> PreprocessDeleteAsync(Object model, Guid id)
{
return Task.FromResult(new MessageResult(true));
}
public Task<MessageResult> PreprocessDeleteAsync(Object model, IDictionary<String, String>? queryParams)
{
return Task.FromResult(new MessageResult(true));
}
public Task<MessageResult> PreprocessDeleteAsync(Object model, Query query)
{
return Task.FromResult(new MessageResult(true));
}
}
}