static CommandController()
 {
     SuccessStatusCodeForThisCommandType = WebApiResponseAttribute.GetHttpStatusCode(typeof(TCommand));
 }
Example #2
0
 static QueryController()
 {
     SuccessStatusCodeForThisQueryType = WebApiResponseAttribute.GetHttpStatusCode(typeof(TQuery));
 }