public IActionResult DeleteAll(List <long> ids) { var list = _warehouseS.GetList(c => ids.Contains(c.WarehouseId)); bool b = _warehouseS.Delete(list); return(Json(AjaxResult(b))); }
/// <summary> /// 删除一条数据 /// </summary> public bool Delete(string CODE) { return(dal.Delete(CODE)); }