public async Task <ResponseMessage> Delete(UserInfo User, [FromRoute] string id) { var r = new ResponseMessage(); try { r = await _chargeManager.DeleteCharge(User, id); } catch (Exception e) { r.Code = ResponseCodeDefines.ServiceError; r.Message = "服务器错误:" + e.Message; Logger.Error("保存报销单失败:\r\n{0}", e.ToString()); } return(r); }