public virtual async Task DeleteAsync([FromBody] Guid[] keys) { foreach (var item in keys) { await UserAppService.DeleteAsync(item); } }
public async Task <JsonResult> DeleteUser(long userId) { await _userAppService.DeleteAsync(userId); return(Json(new AjaxResponse())); }