예제 #1
0
        public IActionResult DeleteAll(List <long> ids)
        {
            var  list = _warehouseS.GetList(c => ids.Contains(c.WarehouseId));
            bool b    = _warehouseS.Delete(list);

            return(Json(AjaxResult(b)));
        }
예제 #2
0
 /// <summary>
 /// 删除一条数据
 /// </summary>
 public bool Delete(string CODE)
 {
     return(dal.Delete(CODE));
 }