@@ -7,19 +7,36 @@ namespace Codelisk.GeneratorAttributes.Helper
7
7
{
8
8
public static class AttributeHelper
9
9
{
10
- public static Dictionary < Type , string > AllAttributesMethodeHeaderDictionary ( string delete = "Delete" , string get = "Get" , string post = "Post" )
10
+ public static Dictionary < Type , string > AllAttributesMethodeHeaderDictionary (
11
+ string delete = "Delete" ,
12
+ string get = "Get" ,
13
+ string post = "Post"
14
+ )
11
15
{
12
16
return new Dictionary < Type , string >
13
17
{
14
- { typeof ( GetAttribute ) , get } ,
15
- { typeof ( GetLastAttribute ) , get } ,
16
- { typeof ( GetFullAttribute ) , get } ,
17
- { typeof ( GetAllAttribute ) , get } ,
18
- { typeof ( GetAllFullAttribute ) , get } ,
19
- { typeof ( SaveAttribute ) , post } ,
20
- { typeof ( AddAttribute ) , post } ,
21
- { typeof ( AddRangeAttribute ) , post } ,
22
- { typeof ( DeleteAttribute ) , delete }
18
+ { typeof ( GetAttribute ) , get } ,
19
+ { typeof ( GetLastAttribute ) , get } ,
20
+ { typeof ( GetFullAttribute ) , get } ,
21
+ { typeof ( GetAllAttribute ) , get } ,
22
+ { typeof ( GetAllFullAttribute ) , get } ,
23
+ { typeof ( SaveAttribute ) , post } ,
24
+ { typeof ( AddAttribute ) , post } ,
25
+ { typeof ( AddRangeAttribute ) , post } ,
26
+ { typeof ( DeleteAttribute ) , delete }
27
+ } ;
28
+ }
29
+
30
+ public static Dictionary < Type , string > AllFullAttributesMethodeHeaderDictionary (
31
+ string delete = "Delete" ,
32
+ string get = "Get" ,
33
+ string post = "Post"
34
+ )
35
+ {
36
+ return new Dictionary < Type , string >
37
+ {
38
+ { typeof ( GetFullAttribute ) , get } ,
39
+ { typeof ( GetAllFullAttribute ) , get } ,
23
40
} ;
24
41
}
25
42
}
0 commit comments