// // POST: /LoginLog/Delete/ public ActionResult Delete(string loginLogId) { string strResult = string.Empty; bool bResult = false; bResult = LoginLogService.Delete(loginLogId, out strResult); string msg = bResult ? "删除成功" : "删除失败"; return(Json(JsonMessageHelper.getJsonMessage(bResult, msg, strResult), "text", JsonRequestBehavior.AllowGet)); }
public async Task <IResultModel> Delete(string id) { return(await _service.Delete(id)); }