public async Task <IActionResult> Delete(long Id)
        {
            var r = await UserApp.DeleteAsync(Id, 0, await CurrentUser());

            return(Json(r));
        }
Esempio n. 2
0
        public async Task <IActionResult> Delete(long Id)
        {
            var r = await UserApp.DeleteAsync(Id, 0, CurrentUser);

            return(Operation(r.IsSuc, r.IsSuc ? "数据删除成功" : r.Msg));
        }