public async Task <IActionResult> Delete(long Id) { var r = await UserApp.DeleteAsync(Id, 0, await CurrentUser()); return(Json(r)); }
public async Task <IActionResult> Delete(long Id) { var r = await UserApp.DeleteAsync(Id, 0, CurrentUser); return(Operation(r.IsSuc, r.IsSuc ? "数据删除成功" : r.Msg)); }