22using CaseManagement . CMMN . CasePlanInstance ;
33using CaseManagement . CMMN . CasePlanInstance . Commands ;
44using CaseManagement . CMMN . CasePlanInstance . Exceptions ;
5- using CaseManagement . CMMN . CasePlanInstance . Repositories ;
6- using CaseManagement . CMMN . Domains ;
7- using CaseManagement . CMMN . Extensions ;
85using CaseManagement . CMMN . Infrastructures ;
9- using CaseManagement . CMMN . Persistence . Parameters ;
10- using CaseManagement . CMMN . Persistence . Responses ;
116using Newtonsoft . Json . Linq ;
127using System ;
138using System . Collections . Generic ;
14- using System . Linq ;
159using System . Net ;
1610using System . Net . Http ;
1711using System . Threading . Tasks ;
@@ -48,7 +42,7 @@ public async Task<IHttpActionResult> SearchMe()
4842 }
4943
5044 [ HttpGet ]
51- [ Route ( "{id:string }" ) ]
45+ [ Route ( "{id}" ) ]
5246 public async Task < IHttpActionResult > GetMe ( string id )
5347 {
5448 try
@@ -67,7 +61,7 @@ public async Task<IHttpActionResult> GetMe(string id)
6761 }
6862
6963 [ HttpGet ]
70- [ Route ( "{id:string }" ) ]
64+ [ Route ( "{id}" ) ]
7165 public async Task < IHttpActionResult > Get ( string id )
7266 {
7367 try
@@ -82,7 +76,7 @@ public async Task<IHttpActionResult> Get(string id)
8276 }
8377
8478 [ HttpGet ]
85- [ Route ( "{id:string }/casefileitems" ) ]
79+ [ Route ( "{id}/casefileitems" ) ]
8680 public async Task < IHttpActionResult > GetCaseFileItems ( string id )
8781 {
8882 var result = await _casePlanInstanceService . GetCaseFileItems ( id ) ;
@@ -134,7 +128,7 @@ public async Task<IHttpActionResult> Create([FromBody] CreateCaseInstanceCommand
134128 }
135129
136130 [ HttpGet ]
137- [ Route ( "me/{id:string }/launch" ) ]
131+ [ Route ( "me/{id}/launch" ) ]
138132 public async Task < IHttpActionResult > LaunchMe ( string id )
139133 {
140134 try
@@ -159,7 +153,7 @@ public async Task<IHttpActionResult> LaunchMe(string id)
159153 }
160154
161155 [ HttpGet ]
162- [ Route ( "{id:string }/launch" ) ]
156+ [ Route ( "{id}/launch" ) ]
163157 public async Task < IHttpActionResult > Launch ( string id )
164158 {
165159 try
@@ -178,7 +172,7 @@ public async Task<IHttpActionResult> Launch(string id)
178172
179173
180174 [ HttpGet ]
181- [ Route ( "me/{id:string }/suspend" ) ]
175+ [ Route ( "me/{id}/suspend" ) ]
182176 public async Task < IHttpActionResult > SuspendMe ( string id )
183177 {
184178 try
@@ -214,7 +208,7 @@ public async Task<IHttpActionResult> SuspendMe(string id)
214208 }
215209
216210 [ HttpGet ]
217- [ Route ( "{id:string }/suspend" ) ]
211+ [ Route ( "{id}/suspend" ) ]
218212 public async Task < IHttpActionResult > Suspend ( string id )
219213 {
220214 try
@@ -250,7 +244,7 @@ public async Task<IHttpActionResult> Suspend(string id)
250244 }
251245
252246 [ HttpGet ]
253- [ Route ( "me/{id:string }/suspend/{elt:string }" ) ]
247+ [ Route ( "me/{id}/suspend/{elt}" ) ]
254248 public async Task < IHttpActionResult > SuspendMe ( string id , string elt )
255249 {
256250 try
@@ -286,7 +280,7 @@ public async Task<IHttpActionResult> SuspendMe(string id, string elt)
286280 }
287281
288282 [ HttpGet ]
289- [ Route ( "{id:string }/suspend/{elt:string }" ) ]
283+ [ Route ( "{id}/suspend/{elt}" ) ]
290284 public async Task < IHttpActionResult > Suspend ( string id , string elt )
291285 {
292286 try
@@ -322,7 +316,7 @@ public async Task<IHttpActionResult> Suspend(string id, string elt)
322316 }
323317
324318 [ HttpGet ]
325- [ Route ( "me/{id:string }/reactivate" ) ]
319+ [ Route ( "me/{id}/reactivate" ) ]
326320 public async Task < IHttpActionResult > ReactivateMe ( string id )
327321 {
328322 try
@@ -358,7 +352,7 @@ public async Task<IHttpActionResult> ReactivateMe(string id)
358352 }
359353
360354 [ HttpGet ]
361- [ Route ( "{id:string }/reactivate" ) ]
355+ [ Route ( "{id}/reactivate" ) ]
362356 public async Task < IHttpActionResult > Reactivate ( string id )
363357 {
364358 try
@@ -394,7 +388,7 @@ public async Task<IHttpActionResult> Reactivate(string id)
394388 }
395389
396390 [ HttpGet ]
397- [ Route ( "{id:string }/reactivate/{elt:string }" ) ]
391+ [ Route ( "{id}/reactivate/{elt}" ) ]
398392 public async Task < IHttpActionResult > Reactivate ( string id , string elt )
399393 {
400394 try
@@ -430,7 +424,7 @@ public async Task<IHttpActionResult> Reactivate(string id, string elt)
430424 }
431425
432426 [ HttpGet ]
433- [ Route ( "me/{id:string }/resume" ) ]
427+ [ Route ( "me/{id}/resume" ) ]
434428 public async Task < IHttpActionResult > ResumeMe ( string id )
435429 {
436430 try
@@ -459,7 +453,7 @@ public async Task<IHttpActionResult> ResumeMe(string id)
459453 }
460454
461455 [ HttpGet ]
462- [ Route ( "{id:string }/resume" ) ]
456+ [ Route ( "{id}/resume" ) ]
463457 public async Task < IHttpActionResult > Resume ( string id )
464458 {
465459 try
@@ -488,7 +482,7 @@ public async Task<IHttpActionResult> Resume(string id)
488482 }
489483
490484 [ HttpGet ]
491- [ Route ( "me/{id:string }/resume/{elt:string }" ) ]
485+ [ Route ( "me/{id}/resume/{elt}" ) ]
492486 public async Task < IHttpActionResult > ResumeMe ( string id , string elt )
493487 {
494488 try
@@ -517,7 +511,7 @@ public async Task<IHttpActionResult> ResumeMe(string id, string elt)
517511 }
518512
519513 [ HttpGet ]
520- [ Route ( "{id:string }/resume/{elt:string }" ) ]
514+ [ Route ( "{id}/resume/{elt}" ) ]
521515 public async Task < IHttpActionResult > Resume ( string id , string elt )
522516 {
523517 try
@@ -546,7 +540,7 @@ public async Task<IHttpActionResult> Resume(string id, string elt)
546540 }
547541
548542 [ HttpGet ]
549- [ Route ( "me/{id:string }/terminate" ) ]
543+ [ Route ( "me/{id}/terminate" ) ]
550544 public async Task < IHttpActionResult > TerminateMe ( string id )
551545 {
552546 try
@@ -582,7 +576,7 @@ public async Task<IHttpActionResult> TerminateMe(string id)
582576 }
583577
584578 [ HttpGet ]
585- [ Route ( "{id:string }/terminate" ) ]
579+ [ Route ( "{id}/terminate" ) ]
586580 public async Task < IHttpActionResult > Terminate ( string id )
587581 {
588582 try
@@ -618,7 +612,7 @@ public async Task<IHttpActionResult> Terminate(string id)
618612 }
619613
620614 [ HttpGet ]
621- [ Route ( "me/{id:string }/terminate/{elt:string }" ) ]
615+ [ Route ( "me/{id}/terminate/{elt}" ) ]
622616 public async Task < IHttpActionResult > TerminateMe ( string id , string elt )
623617 {
624618 try
@@ -654,7 +648,7 @@ public async Task<IHttpActionResult> TerminateMe(string id, string elt)
654648 }
655649
656650 [ HttpGet ]
657- [ Route ( "{id:string }/terminate/{elt:string }" ) ]
651+ [ Route ( "{id}/terminate/{elt}" ) ]
658652 public async Task < IHttpActionResult > Terminate ( string id , string elt )
659653 {
660654 try
@@ -690,7 +684,7 @@ public async Task<IHttpActionResult> Terminate(string id, string elt)
690684 }
691685
692686 [ HttpGet ]
693- [ Route ( "me/{id:string }/close" ) ]
687+ [ Route ( "me/{id}/close" ) ]
694688 public async Task < IHttpActionResult > CloseMe ( string id )
695689 {
696690 try
@@ -719,7 +713,7 @@ public async Task<IHttpActionResult> CloseMe(string id)
719713 }
720714
721715 [ HttpGet ]
722- [ Route ( "{id:string }/close" ) ]
716+ [ Route ( "{id}/close" ) ]
723717 public async Task < IHttpActionResult > Close ( string id )
724718 {
725719 try
@@ -748,7 +742,7 @@ public async Task<IHttpActionResult> Close(string id)
748742 }
749743
750744 [ HttpPost ]
751- [ Route ( "me/{id:string }/confirm/{elt:string }" ) ]
745+ [ Route ( "me/{id}/confirm/{elt}" ) ]
752746 public async Task < IHttpActionResult > ConfirmFormMe ( string id , string elt , [ FromBody ] JObject jObj )
753747 {
754748 try
@@ -791,7 +785,7 @@ public async Task<IHttpActionResult> ConfirmFormMe(string id, string elt, [FromB
791785 }
792786
793787 [ HttpPost ]
794- [ Route ( "{id:string }/confirm/{elt:string }" ) ]
788+ [ Route ( "{id}/confirm/{elt}" ) ]
795789 public async Task < IHttpActionResult > ConfirmForm ( string id , string elt , [ FromBody ] JObject jObj )
796790 {
797791 try
@@ -834,7 +828,7 @@ public async Task<IHttpActionResult> ConfirmForm(string id, string elt, [FromBod
834828 }
835829
836830 [ HttpGet ]
837- [ Route ( "me/{id:string }/activate/{elt:string }" ) ]
831+ [ Route ( "me/{id}/activate/{elt}" ) ]
838832 public async Task < IHttpActionResult > ActivateMe ( string id , string elt )
839833 {
840834 try
@@ -870,7 +864,7 @@ public async Task<IHttpActionResult> ActivateMe(string id, string elt)
870864 }
871865
872866 [ HttpGet ]
873- [ Route ( "{id:string }/activate/{elt:string }" ) ]
867+ [ Route ( "{id}/activate/{elt}" ) ]
874868 public async Task < IHttpActionResult > Activate ( string id , string elt )
875869 {
876870 try
0 commit comments