示例#1
0
 public Results UpdateAComment(Comments comment)
 {
     try
     {
         results.Result       = comments.UpdateAComment(comment);
         results.Code         = 0;
         results.ErrorMessage = string.Empty;
     }
     catch (Exception ex)
     {
         logger.LogError(ex.Message);
         results.Code         = 1;
         results.ErrorMessage = ex.Message;
     }
     return(results);
 }