Commit 194d23c
Add Result.Created void methods so that return Result type is implicitly handled. (#200)
* Created methods should use the passed value to correctly create to respective Result<T> response with the set status of ResultStatus.Created
* Reverted changes in order to make use of the Void result
* Added the created methods to the Result.Void class so that it can implicitly convert from the Value to the Result<T> with the Created status set.
---------
Co-authored-by: Steve Smith <[email protected]>1 parent 8de48b9 commit 194d23c
1 file changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
52 | 76 | | |
53 | 77 | | |
54 | 78 | | |
| |||
0 commit comments