Ejemplo n.º 1
0
 static CommandController()
 {
     SuccessStatusCodeForThisCommandType = WebApiResponseAttribute.GetHttpStatusCode(typeof(TCommand));
 }
Ejemplo n.º 2
0
 static QueryController()
 {
     SuccessStatusCodeForThisQueryType = WebApiResponseAttribute.GetHttpStatusCode(typeof(TQuery));
 }