Exemplo n.º 1
0
 public override void Process()
 {
     try {
         webResponseContent = new WebResponseContent().OK();
     }
     catch (Exception e) {
         webResponseContent = new WebResponseContent().Error(e.Message);
     }
     finally
     {
         WriteJson(webResponseContent.ToJson());
     }
 }